1
0
Fork 0
mirror of https://git.code.sf.net/p/archivemail/code synced 2025-03-12 07:42:50 +00:00
archivemail/Makefile
Nikolaus Schulz 6895571d3b Switched rule for archivemail.html to docbook-tools/docbook-utils.
Since we already run docbook2man, we build-depend on that package anyway, and
the current, hand-crafted jade command fails on Debian systems (wrong path to
stylesheet).
2006-09-29 23:14:10 +00:00

45 lines
826 B
Makefile

VERSION=0.6.2
VERSION_TAG=v$(subst .,_,$(VERSION))
TARFILE=archivemail-$(VERSION).tar.gz
default:
@echo "no default target"
clean:
rm -f *.pyc manpage.links manpage.refs manpage.log
test:
python test_archivemail.py
clobber: clean
rm -rf build dist
sdist: clobber doc
cp archivemail.py archivemail
fakeroot python setup.py sdist
rm archivemail
bdist_rpm: clobber doc
cp archivemail.py archivemail
fakeroot python setup.py bdist_rpm
rm archivemail
tag:
cvs tag -F current
cvs tag -F $(VERSION_TAG)
upload:
(cd dist && lftp -c 'open upload.sf.net && cd incoming && put $(TARFILE)')
doc: archivemail.1 archivemail.html
archivemail.1: archivemail.sgml
docbook2man archivemail.sgml
chmod 644 archivemail.1
archivemail.html: archivemail.sgml
docbook2html -u archivemail.sgml
chmod 644 archivemail.html