aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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