X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=b6e12936daa64095475585aff7274abfa766f16c;hb=b396c6d276faa8130351c32edfdcf9e2d6796392;hp=65fab6802fabec0b6da8ff5f916562a5ec2f7f36;hpb=8a69ae149fc97026263ffca2639d2614d37b500d;p=mimedecode.git diff --git a/Makefile b/Makefile index 65fab68..b6e1293 100644 --- a/Makefile +++ b/Makefile @@ -1,42 +1,19 @@ -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 - -.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 +all: docs distr .PHONY: docs -docs: mimedecode.man mimedecode.txt mimedecode.html +docs: mimedecode.html mimedecode.man mimedecode.txt include Makefile.xsltproc +.PHONY: distr +distr: + ./mk-distr + CLEANFILES = *.py[co] MANIFEST .PHONY: clean clean: rm -f $(CLEANFILES) - -.PHONY: distclean -distclean: clean - rm -rf dist