Release new version 0.7.2
[grml-x.git] / Makefile
index e943259..d5bc8c5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: doc
+all: doc codecheck
 
 doc: doc_man doc_html
 
@@ -18,11 +18,18 @@ man-stamp: grml-x.txt
        # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2!
        cp grml-x.1 grml-x.1.tmp
        uniq grml-x.1.tmp > grml-x.1
+       # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
+       sed -i 's/\.sp//' grml-x.1
        rm grml-x.1.tmp
        touch man-stamp
 
-online:
+online: doc
        scp grml-x.html grml:/var/www/grml/grml-x/index.html
 
 clean:
        rm -rf grml-x.html grml-x.1 grml-x.xml html-stamp man-stamp
+
+codecheck:
+       flake8 grml-x
+       isort --check-only grml-x
+       black --check grml-x