From: Michael Orlitzky Date: Thu, 14 Feb 2019 20:33:24 +0000 (-0500) Subject: GNUmakefile: fix the "check-chktex" target. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjotex.git;a=commitdiff_plain;h=a090c8f0a3d92160d8e14b7328b8045b067b5bbd GNUmakefile: fix the "check-chktex" target. --- diff --git a/.chktexrc b/.chktexrc new file mode 100644 index 0000000..8076a85 --- /dev/null +++ b/.chktexrc @@ -0,0 +1 @@ +# <3 git diff --git a/GNUmakefile b/GNUmakefile index 4b738f0..f3352b6 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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.