-all: doc
+all: doc codecheck
doc: doc_man doc_html
# 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