# HG changeset patch # User Hartmut Goebel # Date 1584440944 -3600 # Node ID 9e69f3056f4babd1ed08b26f39f9f266b629a82d # Parent 7588a2e65285afeea9df298ef3d2bd0f4e95b451 Makefile: Add target `dist`. diff -r 7588a2e65285 -r 9e69f3056f4b Makefile --- 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