1
0
Fork 0
mirror of https://git.code.sf.net/p/archivemail/code synced 2024-12-23 00:06:43 +00:00
archivemail/Makefile

50 lines
953 B
Makefile
Raw Normal View History

2006-06-27 04:44:28 +00:00
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
2002-10-03 06:27:08 +00:00
docbook2man archivemail.sgml
2002-04-12 14:57:05 +00:00
chmod 644 archivemail.1
archivemail.html: archivemail.sgml
jade -t sgml \
-d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl \
-o archivemail.html \
archivemail.sgml
mv r1.html archivemail.html
chmod 644 archivemail.html