X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=c4c2827a6fe462a19178755a0473a2c7866dfcd0;hb=724abcf10ef905bd290e90fff2a69baa3d70a0e6;hp=65fab6802fabec0b6da8ff5f916562a5ec2f7f36;hpb=8a69ae149fc97026263ffca2639d2614d37b500d;p=mimedecode.git diff --git a/Makefile b/Makefile index 65fab68..c4c2827 100644 --- a/Makefile +++ b/Makefile @@ -1,29 +1,10 @@ -VERSION=$(shell python -c "from __version__ import __version__; print __version__") - .PHONY: all -all: docs sdist - -DISTFILES = \ -ANNOUNCE \ -MANIFEST.in \ -Makefile \ -Makefile.4xslt \ -Makefile.sgmlt \ -__version__.py \ -mimedecode.docbook \ -mimedecode.html \ -mimedecode.man \ -mimedecode.py \ -mimedecode.txt \ -setup.py +all: distr docs -.PHONY: sdist -sdist: dist/mimedecode-$(VERSION).tar.gz - -.PHONY: dist -dist/mimedecode-$(VERSION).tar.gz: $(DISTFILES) - umask 022 && chmod a+rX $(DISTFILES) && python setup.py sdist --formats=bztar +.PHONY: distr +distr: + ./mk-distr .PHONY: docs docs: mimedecode.man mimedecode.txt mimedecode.html @@ -36,7 +17,3 @@ CLEANFILES = *.py[co] MANIFEST .PHONY: clean clean: rm -f $(CLEANFILES) - -.PHONY: distclean -distclean: clean - rm -rf dist