7 html-stamp: grml2usb.8.txt grml2iso.8.txt
8 asciidoc -b xhtml11 -a icons -a toc -a numbered grml2usb.8.txt
9 asciidoc -b xhtml11 -a icons -a toc -a numbered grml2iso.8.txt
14 man-stamp: grml2usb.8.txt grml2iso.8.txt
16 asciidoc -d manpage -b docbook grml2usb.8.txt
17 sed -i 's/<emphasis role="strong">/<emphasis role="bold">/' grml2usb.8.xml
18 xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2usb.8.xml
19 # ugly hack to avoid duplicate empty lines in manpage
20 # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2!
21 cp grml2usb.8 grml2usb.8.tmp
22 uniq grml2usb.8.tmp > grml2usb.8
23 # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
24 sed -i 's/\.sp//' grml2usb.8
27 asciidoc -d manpage -b docbook grml2iso.8.txt
28 sed -i 's/<emphasis role="strong">/<emphasis role="bold">/' grml2iso.8.xml
29 xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2iso.8.xml
30 # ugly hack to avoid duplicate empty lines in manpage
31 # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2!
32 cp grml2iso.8 grml2iso.8.tmp
33 uniq grml2iso.8.tmp > grml2iso.8
34 # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
35 sed -i 's/\.sp//' grml2iso.8
41 scp grml2usb.8.html grml:/var/www/grml/grml2usb/index.html
42 scp images/icons/* grml:/var/www/grml/grml2usb/images/icons/
43 scp images/screenshot.png grml:/var/www/grml/grml2usb/images/
48 tarball-online: tarball
49 scp grml2usb.tgz grml2usb.tgz.md5.asc grml:/var/www/grml/grml2usb/
52 rm -rf grml2usb.8.html grml2usb.8.xml grml2usb.8
53 rm -rf grml2iso.8.html grml2iso.8.xml grml2iso.8
54 rm -rf html-stamp man-stamp grml2usb.tar.gz grml2usb.tgz grml2usb.tgz.md5.asc
58 pylint --include-ids=y --max-line-length=120 grml2usb
59 # pylint --include-ids=y --disable-msg-cat=C0301 --disable-msg-cat=W0511 grml2usb
60 # pylint --reports=n --include-ids=y --disable-msg-cat=C0301 grml2usb
63 # sudo pycallgraph grml2usb /grml/isos/grml-small_2008.11.iso /dev/sdb1