mirror of
https://git.code.sf.net/p/archivemail/code
synced 2025-03-11 07:12:47 +00:00
Makefile: added rule to generate htdocs tarball.
This commit is contained in:
parent
c4841fe4cd
commit
796f60f8c8
1 changed files with 9 additions and 1 deletions
10
Makefile
10
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
|
||||
|
|
Loading…
Add table
Reference in a new issue