aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-02-03 19:42:57 +0000
committerNick Mathewson <nickm@torproject.org>2004-02-03 19:42:57 +0000
commit36da02feaf635168f08ea06471fc1bfc38ebc3d4 (patch)
tree20beb6fe73e56212c607672a18b48731929f0ccb /Makefile
parent202638584ca920325535134436d07e9d3d7d4986 (diff)
downloadanonbib-36da02feaf635168f08ea06471fc1bfc38ebc3d4.tar.gz
Tidy files, add copyright notices, add make dist target
svn:r84
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5c13c70..a4979e6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
PYTHON=python2
+VERSION=0.1
all:
$(PYTHON) writeHTML.py
@@ -12,3 +13,20 @@ update:
veryclean: clean
rm -f author.html date.html topic.html bibtex.html tmp.bib
+
+TEMPLATES=_template_.html
+CSS=css/main.css css/pubs.css
+BIBTEX=anonbib.bib
+SOURCE=BibTeX.py config.py metaphone.py reconcile.py updateCache.py \
+ writeHTML.py
+EXTRAS=TODO README Makefile
+
+DISTFILES=$(TEMPLATES) $(CSS) $(BIBTEX) $(SOURCE) $(EXTRAS)
+
+dist: clean
+ rm -rf anonbib-$(VERSION)
+ mkdir anonbib-$(VERSION)
+ tar cf - $(DISTFILES) | (cd anonbib-$(VERSION); tar xf -)
+ mkdir anonbib-$(VERSION)/cache
+ tar czf anonbib-$(VERSION).tar.gz anonbib-$(VERSION)
+ rm -rf anonbib-$(VERSION) \ No newline at end of file