From 39e6a532d0654440679fb5980352615a004f090c Mon Sep 17 00:00:00 2001 From: Nikolaus Schulz Date: Mon, 28 Mar 2011 23:55:22 +0200 Subject: Makefile: remove obsolete rules * docbook2{man,html} used to generate temporary files; the new XML tool xsltproc does not, so we can drop the corresponding cleanup rule. * The `bdist_rpm' rule for building rpm packages was broken for a long time, and therefore commented out. The distutils bug that broke the rule is now fixed, but I'm removing the rule nevertheless because it's useless. * The `upload' rule no longer works; drop it. * Update .PHONY --- Makefile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Makefile b/Makefile index f803e59..57bad9c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ - VERSION=$(shell python setup.py --version) VERSION_TAG=v$(subst .,_,$(VERSION)) TARFILE=archivemail-$(VERSION).tar.gz @@ -8,7 +7,6 @@ default: @echo "no default target" clean: - rm -f manpage.links manpage.refs manpage.log rm -rf $(HTDOCS) test: @@ -22,17 +20,9 @@ clobber: clean sdist: clobber doc python setup.py sdist -# FIXME: bdist_rpm chokes on the manpage. -# This is python/distutils bug #644744 -#bdist_rpm: clobber doc -# python setup.py bdist_rpm - tag: git tag -a $(VERSION_TAG) -upload: - (cd dist && lftp -c 'open upload.sf.net && cd incoming && put $(TARFILE)') - doc: archivemail.1 archivemail.html htdocs: $(HTDOCS).tgz @@ -50,4 +40,4 @@ archivemail.html: archivemail.xml db2html.xsl db2html.xsl archivemail.xml tidy -modify -indent -f /dev/null archivemail.html || true -.PHONY: clean test clobber sdist tag upload doc htdocs +.PHONY: default clean test clobber sdist tag doc htdocs -- cgit v1.2.3