X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=Makefile;h=6d777693de20c9138f9c9ad08fa779147c1e3a88;hb=d45dfc6805e60c813df350810581781f50d9fa73;hp=0d1dfc60946c05263d18db6ba8514df395f95900;hpb=e85e34ca0caed55bcdef5cd2937839b80b8656af;p=grml2usb.git diff --git a/Makefile b/Makefile index 0d1dfc6..6d77769 100644 --- a/Makefile +++ b/Makefile @@ -4,37 +4,59 @@ doc: doc_man doc_html doc_html: html-stamp -html-stamp: grml2usb.8.txt - asciidoc -b xhtml11 -a icons grml2usb.8.txt +html-stamp: grml2usb-compat.8.txt grml2iso-compat.8.txt + asciidoc -b xhtml11 -a icons -a toc -a numbered grml2usb-compat.8.txt + asciidoc -b xhtml11 -a icons -a toc -a numbered grml2iso-compat.8.txt touch html-stamp doc_man: man-stamp -man-stamp: grml2usb.8.txt - asciidoc -d manpage -b docbook grml2usb.8.txt - sed -i 's///' grml2usb.8.xml - xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2usb.8.xml +man-stamp: grml2usb-compat.8.txt grml2iso-compat.8.txt + # grml2usb-compat: + asciidoc -d manpage -b docbook grml2usb-compat.8.txt + sed -i 's///' grml2usb-compat.8.xml + xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2usb-compat.8.xml # ugly hack to avoid duplicate empty lines in manpage # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2! - cp grml2usb.8 grml2usb.8.tmp - uniq grml2usb.8.tmp > grml2usb.8 + cp grml2usb-compat.8 grml2usb-compat.8.tmp + uniq grml2usb-compat.8.tmp > grml2usb-compat.8 # ugly hack to avoid '.sp' at the end of a sentence or paragraph: - sed -i 's/\.sp//' grml2usb.8 - rm grml2usb.8.tmp + sed -i 's/\.sp//' grml2usb-compat.8 + rm grml2usb-compat.8.tmp + # grml2iso-compat: + asciidoc -d manpage -b docbook grml2iso-compat.8.txt + sed -i 's///' grml2iso-compat.8.xml + xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2iso-compat.8.xml + # ugly hack to avoid duplicate empty lines in manpage + # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2! + cp grml2iso-compat.8 grml2iso-compat.8.tmp + uniq grml2iso-compat.8.tmp > grml2iso-compat.8 + # ugly hack to avoid '.sp' at the end of a sentence or paragraph: + sed -i 's/\.sp//' grml2iso-compat.8 + rm grml2iso-compat.8.tmp + # we're done touch man-stamp online: all - scp grml2usb.8.html grml:/var/www/grml/grml2usb/index.html - scp images/icons/* grml:/var/www/grml/grml2usb/images/icons/ - scp images/screenshot.png grml:/var/www/grml/grml2usb/images/ + scp grml2usb-compat.8.html grml:/var/www/grml/grml2usb-compat/index.html + scp images/icons/* grml:/var/www/grml/grml2usb-compat/images/icons/ + scp images/screenshot.png grml:/var/www/grml/grml2usb-compat/images/ + +tarball: all + ./tarball.sh + +tarball-online: tarball + scp grml2usb-compat.tgz grml2usb-compat.tgz.md5.asc grml:/var/www/grml/grml2usb/ clean: - rm -rf grml2usb.8.html grml2usb.8.xml grml2usb.8 html-stamp man-stamp + rm -rf grml2usb-compat.8.html grml2usb-compat.8.xml grml2usb-compat.8 + rm -rf grml2iso-compat.8.html grml2iso-compat.8.xml grml2iso-compat.8 + rm -rf html-stamp man-stamp grml2usb-compat.tar.gz grml2usb-compat.tgz grml2usb-compat.tgz.md5.asc codecheck: - pylint --include-ids=y --max-line-length=120 grml2usb.py - # pylint --include-ids=y --disable-msg-cat=C0301 --disable-msg-cat=W0511 grml2usb.py - # pylint --reports=n --include-ids=y --disable-msg-cat=C0301 grml2usb.py + pylint --include-ids=y --max-line-length=120 grml2usb-compat + # pylint --include-ids=y --disable-msg-cat=C0301 --disable-msg-cat=W0511 grml2usb-compat + # pylint --reports=n --include-ids=y --disable-msg-cat=C0301 grml2usb-compat # graph: -# sudo pycallgraph grml2usb /grml/isos/grml-small_2008.11.iso /dev/sdb1 +# sudo pycallgraph grml2usb-compat /grml/isos/grml-small_2008.11.iso /dev/sdb1