X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=1a84be3763197c4732f8ad5472fc943bf7cece2c;hb=ccbabf4fd66b7e04daa265959824edc8a97ffd28;hp=c27f3a27b88f219576ba0590c070df1712290bc1;hpb=6d44cf69f7543992b197d6e6ce1826e687beea63;p=mimedecode.git diff --git a/Makefile b/Makefile index c27f3a2..1a84be3 100644 --- a/Makefile +++ b/Makefile @@ -13,21 +13,25 @@ mimedecode.html \ mimedecode.man \ mimedecode.txt +.PHONY: sdist sdist: dist/mimedecode-2.1.0.tar.gz - touch sdist +.PHONY: dist dist/mimedecode-2.1.0.tar.gz: $(DISTFILES) - umask 022 && python setup.py sdist + umask 022 && chmod a+rX $(DISTFILES) && python setup.py sdist +.PHONY: docs docs: mimedecode.man mimedecode.txt mimedecode.html -include Makefile.4xslt +include Makefile.xsltproc -CLEANFILES = mimedecode.pyc MANIFEST sdist +CLEANFILES = *.py[co] MANIFEST +.PHONY: clean clean: rm -f $(CLEANFILES) +.PHONY: distclean distclean: clean - rm -rf dist sdist + rm -rf dist