aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNikolaus Schulz <microschulz@web.de>2011-03-28 23:55:22 +0200
committerNikolaus Schulz <microschulz@web.de>2011-03-28 23:55:22 +0200
commit39e6a532d0654440679fb5980352615a004f090c (patch)
tree6d0d4dd13dc60a6be7de4355280037e85dccaa0a /Makefile
parent8173caa81d03eef496f70995749093266e859f2a (diff)
downloadarchivemail-39e6a532d0654440679fb5980352615a004f090c.tar.gz
archivemail-39e6a532d0654440679fb5980352615a004f090c.tar.bz2
archivemail-39e6a532d0654440679fb5980352615a004f090c.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 1 insertions, 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