aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7600f49..45a39f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,13 @@
-VERSION=0.3.1
+VERSION=0.3.2
+VERSION_TAG=v$(subst .,_,$(VERSION))
+
default:
@echo "no default target"
clean:
- rm -f *.pyc
+ rm -f *.pyc manpage.links manpage.refs manpage.log
clobber: clean
rm -rf build dist
@@ -16,8 +18,18 @@ sdist: clobber
rm archivemail
tag:
cvs tag -F current
- cvs tag v$(VERSION)
+ 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