From: Oleg Broytman Date: Thu, 27 Apr 2006 15:04:36 +0000 (+0000) Subject: Phony targets. X-Git-Tag: v2.3.2~87 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=77b3ab94d1f635b819a50b4cf5a9cfa250cf92a9;p=mimedecode.git Phony targets. git-svn-id: file:///home/phd/archive/SVN/mimedecode@9 a778b35f-2f12-0410-a9f6-9b1356d76ba6 --- diff --git a/Makefile b/Makefile index c27f3a2..12b9bd9 100644 --- a/Makefile +++ b/Makefile @@ -13,12 +13,14 @@ 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 @@ -26,8 +28,10 @@ include Makefile.4xslt CLEANFILES = mimedecode.pyc MANIFEST sdist +.PHONY: clean clean: rm -f $(CLEANFILES) +.PHONY: distclean distclean: clean rm -rf dist sdist