Release new version 0.7.2
[grml-x.git] / Makefile
index bea08b2..d5bc8c5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: doc
+all: doc codecheck
 
 doc: doc_man doc_html
 
@@ -19,7 +19,7 @@ man-stamp: grml-x.txt
        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
+       sed -i 's/\.sp//' grml-x.1
        rm grml-x.1.tmp
        touch man-stamp
 
@@ -28,3 +28,8 @@ online: doc
 
 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