archivemail/Makefile

36 lines
705 B
Makefile

VERSION=0.3.2
VERSION_TAG=v$(subst .,_,$(VERSION))
default:
@echo "no default target"
clean:
rm -f *.pyc manpage.links manpage.refs manpage.log
clobber: clean
rm -rf build dist
sdist: clobber
cp archivemail.py archivemail
fakeroot python setup.py sdist
rm archivemail
tag:
cvs tag -F current
cvs tag $(VERSION_TAG)
doc: archivemail.1 archivemail.html
archivemail.1: archivemail.sgml
nsgmls archivemail.sgml | sgmlspl docbook2man-spec.pl
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