X-Git-Url: http://git.grml.org/?p=grml-x.git;a=blobdiff_plain;f=Makefile;h=1729d1216a8ad71696b749bb467f1b1f5347e754;hp=8cd1e53b557ec5defb5581022a7a0397bd49ef7e;hb=HEAD;hpb=189e9e570a1d6bc8664b66506caabffad9774a9a diff --git a/Makefile b/Makefile index 8cd1e53..d5bc8c5 100644 --- 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.xml grml-x.1 html-stamp man-stamp + 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