From 77b3ab94d1f635b819a50b4cf5a9cfa250cf92a9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 27 Apr 2006 15:04:36 +0000 Subject: [PATCH] Phony targets. git-svn-id: file:///home/phd/archive/SVN/mimedecode@9 a778b35f-2f12-0410-a9f6-9b1356d76ba6 --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.5