X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;h=06af8d6fa1f272d30530da8f8a3485a4075e3e65;hb=0ac34191c2f3111a48fabc68c169cc51ca35f6bc;hp=33e6fe9ef099c822b4a09e1c5b3f5959b4c1d8a1;hpb=453ebd84a6d80bdbfd34e0427b68b8e89a43500d;p=grml-paste.git diff --git a/Makefile b/Makefile index 33e6fe9..06af8d6 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ %.gz : %.txt ; asciidoc -d manpage -b docbook $^ #sed -i 's///g' `echo $^ |sed -e 's/.txt/.xml/'` - xsltproc -nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'` &>/dev/null + xsltproc -nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'` >/dev/null # ugly hack to avoid '.sp' at the end of a sentence or paragraph: sed -i 's/\.sp//' `echo $^ |sed -e 's/.txt//'` gzip -f --best `echo $^ |sed -e 's/.txt//'` @@ -21,3 +21,5 @@ clean: @for i in $(MANPAGES); do \ rm -f $$i.html $$i.xml $$i.gz; done +lint: + flake8 --max-line-length=120 grml-paste