Commits

Anonymous committed 5c76d53

RC3

Comments (0)

Files changed (1)

 PYTHON=python3.2
 
-.PHONY: docs test_docs clean push dist test register
+.PHONY: docs test_docs clean push dist test register deploy
 
 docs:
 	$(MAKE) -C docs
 	zip -j docs.zip docs/*.html docs/format.css LICENSE.txt
 
+deploy: dist
+	rm -f pyPEG2.tar.gz2
+	ln -s dist/pyPEG2-*.tar.gz pyPEG2.tar.gz
+	scp docs/*.html docs/format.css pyPEG2.tar.gz *.txt dragon:fdik.org/pyPEG2/
+
 register:
 	$(PYTHON) setup.py register
 
 
 clean:
 	$(MAKE) -C docs clean
-	rm -Rf dist MANIFEST docs.zip
+	rm -Rf dist MANIFEST docs.zip pyPEG2.tar.gz
 
 push:
 	hg push ssh://hg@bitbucket.org/fdik/pypeg2