Lintian cleanups and release new version 0.9.39.
[grml-live.git] / docs / Makefile
1 all: doc
2
3 doc: doc_man doc_html
4
5 doc_html: html-stamp
6
7 html-stamp: grml-live.txt grml-live-remaster.txt grml-live-db.txt
8         asciidoc -b xhtml11 -a icons -a toc -a numbered grml-live.txt
9         asciidoc -b xhtml11 -a icons grml-live-remaster.txt
10         asciidoc -b xhtml11 -a icons grml-live-db.txt
11         touch html-stamp
12
13 doc_man: man-stamp
14
15 man-stamp: grml-live.txt grml-live-remaster.txt
16         asciidoc -d manpage -b docbook grml-live.txt
17         xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live.xml
18         asciidoc -d manpage -b docbook grml-live-remaster.txt
19         xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live-remaster.xml
20         asciidoc -d manpage -b docbook grml-live-db.txt
21         xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live-db.xml
22         touch man-stamp
23
24 online: doc_html
25         scp grml-live.html grml:/var/www/grml/grml-live/index.html
26
27 clean:
28         rm -rf grml-live-remaster.html grml-live-remaster.xml grml-live-remaster.8
29         rm -rf grml-live.html grml-live.xml grml-live.8 html-stamp man-stamp
30         rm -rf grml-live-db.html grml-live-db.xml grml-live-db.8 html-stamp man-stamp