X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=Makefile;h=ac3b49820f1fc83bf922c7a7e14a390a75962f8f;hp=d3db3459b0f9c8d682ad77b484185384398a6809;hb=0d8f722e4d22e8a3f579482cd7701785a1dd4359;hpb=c9500a5fad503b1ed1e74b1ae8d4f6e003b0dfa2 diff --git a/Makefile b/Makefile index d3db345..ac3b498 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 + asciidoc -b xhtml11 -a icons -a toc -a numbered 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 @@ -30,5 +28,19 @@ online: all scp images/icons/* grml:/var/www/grml/grml2usb/images/icons/ scp images/screenshot.png grml:/var/www/grml/grml2usb/images/ +tarball: all + ./tarball.sh + +tarball-online: all + scp grml2usb.tgz grml2usb.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.8.html grml2usb.8.xml grml2usb.8 html-stamp man-stamp grml2usb.tar.gz + +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