3 # doc: doc_man doc_html
8 html-stamp: grml-live.txt
9 asciidoc -b xhtml11 grml-live.txt
14 man-stamp: grml-live.txt
15 asciidoc -d manpage -b docbook grml-live.txt
16 sed -i 's/<emphasis role="strong">/<emphasis role="bold">/' grml-live.xml
17 xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live.xml
18 # ugly hack to avoid duplicate empty lines in manpage
19 # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2!
20 cp grml-live.8 grml-live.8.tmp
21 uniq grml-live.8.tmp > grml-live.8
26 rm -rf grml-live.html grml-live.xml grml-live.8 html-stamp man-stamp
29 scp grml-live.html grml:/var/www/grml/grml-live/index.html