2002-04-12 14:46:09 +00:00
|
|
|
|
2002-04-27 06:08:45 +00:00
|
|
|
VERSION=0.4.4
|
2002-04-13 11:36:32 +00:00
|
|
|
VERSION_TAG=v$(subst .,_,$(VERSION))
|
2002-04-19 07:12:49 +00:00
|
|
|
TARFILE=archivemail-$(VERSION).tar.gz
|
2002-04-13 11:36:32 +00:00
|
|
|
|
2002-04-12 14:46:09 +00:00
|
|
|
|
|
|
|
default:
|
|
|
|
@echo "no default target"
|
|
|
|
|
|
|
|
clean:
|
2002-04-13 11:36:32 +00:00
|
|
|
rm -f *.pyc manpage.links manpage.refs manpage.log
|
2002-04-12 14:46:09 +00:00
|
|
|
|
2002-04-17 06:26:31 +00:00
|
|
|
test:
|
|
|
|
python test_archivemail.py
|
|
|
|
|
2002-04-12 14:46:09 +00:00
|
|
|
clobber: clean
|
|
|
|
rm -rf build dist
|
|
|
|
|
2002-04-23 03:01:26 +00:00
|
|
|
|
2002-04-17 06:26:31 +00:00
|
|
|
sdist: clobber doc
|
2002-04-12 14:46:09 +00:00
|
|
|
cp archivemail.py archivemail
|
|
|
|
fakeroot python setup.py sdist
|
|
|
|
rm archivemail
|
|
|
|
tag:
|
|
|
|
cvs tag -F current
|
2002-04-13 11:36:32 +00:00
|
|
|
cvs tag $(VERSION_TAG)
|
|
|
|
|
2002-04-19 07:12:49 +00:00
|
|
|
upload:
|
|
|
|
(cd dist && lftp -c 'open upload.sf.net && cd incoming && put $(TARFILE)')
|
|
|
|
|
2002-04-23 03:01:26 +00:00
|
|
|
doc: archivemail.1 archivemail.html
|
|
|
|
|
2002-04-12 14:46:09 +00:00
|
|
|
archivemail.1: archivemail.sgml
|
|
|
|
nsgmls archivemail.sgml | sgmlspl docbook2man-spec.pl
|
2002-04-12 14:57:05 +00:00
|
|
|
chmod 644 archivemail.1
|
2002-04-13 11:36:32 +00:00
|
|
|
|
|
|
|
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
|