X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=Makefile;h=dd12e74d37336a5fb02c084470ae01ad0ab60c4f;hp=2019af8f3b0e6808f8cb1f936e945520603107f8;hb=3f776793aa188a538869f2276915b29c7d6e91d5;hpb=aaaef1ad0ac48eb697a1425786c54bcefd42136a diff --git a/Makefile b/Makefile index 2019af8..dd12e74 100644 --- a/Makefile +++ b/Makefile @@ -14,22 +14,10 @@ doc_man: man-stamp man-stamp: grml2usb.8.txt grml2iso.8.txt # grml2usb: asciidoc -d manpage -b docbook grml2usb.8.txt - sed -i 's///' grml2usb.8.xml xsltproc --novalid --nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2usb.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 - rm grml2usb.8.tmp # grml2iso: asciidoc -d manpage -b docbook grml2iso.8.txt - sed -i 's///' grml2iso.8.xml xsltproc --novalid --nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2iso.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.8 grml2iso.8.tmp - uniq grml2iso.8.tmp > grml2iso.8 - rm grml2iso.8.tmp # we're done touch man-stamp @@ -54,6 +42,10 @@ codecheck: flake8 grml2usb isort --check-only grml2usb black --check grml2usb + vulture grml2usb test/grml2usb_test.py + +test: + pytest # graph: # sudo pycallgraph grml2usb /grml/isos/grml-small_2008.11.iso /dev/sdb1