]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - GNUmakefile
GNUmakefile: fix the "check-chktex" target.
[mjotex.git] / GNUmakefile
index 4b738f096e9b6155e840c40f73c418fb9d09a6ff..f3352b6c0769a670832fff6c4a2089b2fc2d0876 100644 (file)
@@ -135,8 +135,9 @@ check-boxes: $(PN).log
 # Run chktex to find silly mistakes. There is some exit code weirdness
 # (Savannah bug 45979), so we just look for empty output.
 .PHONY: check-chktex
+CHKTEX = chktex --localrc .chktexrc --quiet --inputfiles=0
 check-chktex:
-       @[ -z "$(shell chktex --quiet mjotex.sty)" ]
+       @[ -z "$(shell $(CHKTEX) mjotex.sty)" ]
 
 # Ensure that there are no undefined references in the document by
 # parsing the log file for said warnings.