Add grml2usb: unknown-section grml to debian/overrides
[grml2usb.git] / Makefile
index d3db345..b7166d0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,14 +5,12 @@ doc: doc_man doc_html
 doc_html: html-stamp
 
 html-stamp: grml2usb.8.txt
-       sed -i 's/^include::releasetable-man.txt\[\]/include::releasetable.txt\[\]/' grml2usb.8.txt
        asciidoc -b xhtml11 -a icons grml2usb.8.txt
        touch html-stamp
 
 doc_man: man-stamp
 
 man-stamp: grml2usb.8.txt
-       sed -i 's/^include::releasetable.txt\[\]/include::releasetable-man.txt\[\]/' grml2usb.8.txt
        asciidoc -d manpage -b docbook grml2usb.8.txt
        sed -i 's/<emphasis role="strong">/<emphasis role="bold">/' grml2usb.8.xml
        xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2usb.8.xml
@@ -32,3 +30,11 @@ online: all
 
 clean:
        rm -rf grml2usb.8.html grml2usb.8.xml grml2usb.8 html-stamp man-stamp
+
+codecheck:
+       pylint --include-ids=y --max-line-length=120 grml2usb
+       # pylint --include-ids=y --disable-msg-cat=C0301 --disable-msg-cat=W0511 grml2usb
+       # pylint --reports=n --include-ids=y --disable-msg-cat=C0301 grml2usb
+
+# graph:
+#      sudo pycallgraph grml2usb /grml/isos/grml-small_2008.11.iso /dev/sdb1