Release new version 0.8
[grml-paste.git] / Makefile
index 33e6fe9..06af8d6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 %.gz : %.txt ;
        asciidoc -d manpage -b docbook $^
        #sed -i 's/<emphasis role="strong">/<emphasis role="bold">/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