mirror of
https://git.code.sf.net/p/archivemail/code
synced 2024-12-21 23:32:54 +00:00
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
This commit is contained in:
parent
8173caa81d
commit
39e6a532d0
1 changed files with 1 additions and 11 deletions
12
Makefile
12
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
|
||||
|
|
Loading…
Reference in a new issue