]> git.phdru.name Git - mimedecode.git/commitdiff
Phony targets.
authorOleg Broytman <phd@phdru.name>
Thu, 27 Apr 2006 15:04:36 +0000 (15:04 +0000)
committerOleg Broytman <phd@phdru.name>
Thu, 27 Apr 2006 15:04:36 +0000 (15:04 +0000)
git-svn-id: file:///home/phd/archive/SVN/mimedecode@9 a778b35f-2f12-0410-a9f6-9b1356d76ba6

Makefile

index c27f3a27b88f219576ba0590c070df1712290bc1..12b9bd9684cb9383d922021a62cb31ddbf3821cb 100644 (file)
--- 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