X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=Makefile;h=b7166d069c3e8ec37383301c35e690f0c099ff4c;hp=d3db3459b0f9c8d682ad77b484185384398a6809;hb=d9102415b982d630630ccd4747b83c981f93a61b;hpb=c9500a5fad503b1ed1e74b1ae8d4f6e003b0dfa2 diff --git a/Makefile b/Makefile index d3db345..b7166d0 100644 --- 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///' 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