aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNikolaus Schulz <microschulz@web.de>2007-11-07 23:59:45 +0000
committerNikolaus Schulz <microschulz@web.de>2007-11-07 23:59:45 +0000
commit796f60f8c8b1dc1b0ca4e47a68f7b28a3a59d14b (patch)
treeb5b1132f963fc30f23e2e309224e9188dfc279b0 /Makefile
parentc4841fe4cdb39db3af54125523ce7348dbbdb293 (diff)
downloadarchivemail-796f60f8c8b1dc1b0ca4e47a68f7b28a3a59d14b.tar.gz
archivemail-796f60f8c8b1dc1b0ca4e47a68f7b28a3a59d14b.tar.bz2
archivemail-796f60f8c8b1dc1b0ca4e47a68f7b28a3a59d14b.zip
Makefile: added rule to generate htdocs tarball.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 572e6d6..76cdbfb 100644
--- a/Makefile
+++ b/Makefile
@@ -3,19 +3,21 @@ VERSION=$(shell python setup.py --version)
VERSION_TAG=v$(subst .,_,$(VERSION))
TARFILE=archivemail-$(VERSION).tar.gz
SVNROOT=https://archivemail.svn.sourceforge.net/svnroot/archivemail
-
+HTDOCS=htdocs-$(VERSION)
default:
@echo "no default target"
clean:
rm -f *.pyc manpage.links manpage.refs manpage.log
+ rm -rf $(HTDOCS)
test:
python test_archivemail.py
clobber: clean
rm -rf build dist
+ rm -f $(HTDOCS).tgz
sdist: clobber doc
@@ -46,6 +48,12 @@ upload:
doc: archivemail.1 archivemail.html
+htdocs: index.html archivemail.html RELNOTES style.css manpage.css
+ install -d -m 775 $(HTDOCS)
+ install -m 664 $^ $(HTDOCS)
+ cd $(HTDOCS) && mv archivemail.html manpage.html
+ tar czf $(HTDOCS).tgz $(HTDOCS)
+
archivemail.1: archivemail.sgml
docbook2man archivemail.sgml
chmod 644 archivemail.1