Makefile
changeset 48 9e69f3056f4b
parent 45 4ac3bb01f0bc
child 49 6e781b10c5a4
--- a/Makefile	Tue Mar 17 11:13:21 2020 +0100
+++ b/Makefile	Tue Mar 17 11:29:04 2020 +0100
@@ -1,5 +1,6 @@
 YML_PATH=
 YML2C=yml2c
+PKGVER=$(shell python setup.py -V)
 
 all: homepage
 
@@ -19,3 +20,9 @@
 clean:
 	rm -f *.html *.pyc *.pyo */*.pyc */*.pyo
 	rm -rf *.egg-info
+
+
+dist: dist/yml-$(PKGVER).tar.gz
+
+dist/yml-$(PKGVER).tar.gz:
+	python setup.py sdist