X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=d748c00409cd6758f91229caddf1ed8485319ad6;hb=2c943cdd9e58f2b7651ca0c66bf1ea35fcf9f753;hp=58d8bcfdab1515a70d5707dba765655df6aeea7f;hpb=93e3f055dce57cca7b6c6b398217b5fff9b086bb;p=mimedecode.git diff --git a/Makefile b/Makefile index 58d8bcf..d748c00 100644 --- a/Makefile +++ b/Makefile @@ -1,29 +1,15 @@ -all: docs sdist +.PHONY: all +all: distr docs -DISTFILES = mimedecode.py \ -setup.py \ -Makefile \ -Makefile.sgmlt \ -Makefile.4xslt \ -MANIFEST.in \ -ANNOUNCE \ -mimedecode.docbook \ -mimedecode.html \ -mimedecode.man \ -mimedecode.txt - -.PHONY: sdist -sdist: dist/mimedecode-2.1.0.tar.gz - -.PHONY: dist -dist/mimedecode-2.1.0.tar.gz: $(DISTFILES) - umask 022 && chmod a+rX $(DISTFILES) && python setup.py sdist +.PHONY: distr +distr: + ./mk-distr .PHONY: docs -docs: mimedecode.man mimedecode.txt mimedecode.html +docs: mimedecode.html mimedecode.man mimedecode.txt -include Makefile.4xslt +include Makefile.xsltproc CLEANFILES = *.py[co] MANIFEST @@ -31,7 +17,3 @@ CLEANFILES = *.py[co] MANIFEST .PHONY: clean clean: rm -f $(CLEANFILES) - -.PHONY: distclean -distclean: clean - rm -rf dist