7 html-stamp: grml2usb.8.txt
8 asciidoc -b xhtml11 -a icons grml2usb.8.txt
13 man-stamp: grml2usb.8.txt
14 asciidoc -d manpage -b docbook grml2usb.8.txt
15 sed -i 's/<emphasis role="strong">/<emphasis role="bold">/' grml2usb.8.xml
16 xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2usb.8.xml
17 # ugly hack to avoid duplicate empty lines in manpage
18 # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2!
19 cp grml2usb.8 grml2usb.8.tmp
20 uniq grml2usb.8.tmp > grml2usb.8
21 # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
22 sed -i 's/\.sp//' grml2usb.8
27 scp grml2usb.8.html grml:/var/www/grml/grml2usb/index.html
28 scp images/icons/* grml:/var/www/grml/grml2usb/images/icons/
29 scp images/screenshot.png grml:/var/www/grml/grml2usb/images/
32 rm -rf grml2usb.8.html grml2usb.8.xml grml2usb.8 html-stamp man-stamp