Drop WIP from docs
[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
8         asciidoc -b xhtml11 -a icons -a toc -a numbered grml-live.txt
9         asciidoc -b xhtml11 -a icons grml-live-remaster.txt
10         touch html-stamp
11
12 doc_man: man-stamp
13
14 man-stamp: grml-live.txt grml-live-remaster.txt
15         asciidoc -d manpage -b docbook grml-live.txt
16         xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live.xml
17         asciidoc -d manpage -b docbook grml-live-remaster.txt
18         xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live-remaster.xml
19         touch man-stamp
20
21 online: doc_html
22         scp grml-live.html grml:/var/www/grml/grml-live/index.html
23
24 clean:
25         rm -rf grml-live-remaster.html grml-live-remaster.xml grml-live-remaster.8
26         rm -rf grml-live.html grml-live.xml grml-live.8 html-stamp man-stamp