From a090c8f0a3d92160d8e14b7328b8045b067b5bbd Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 14 Feb 2019 15:33:24 -0500 Subject: [PATCH] GNUmakefile: fix the "check-chktex" target. --- .chktexrc | 1 + GNUmakefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .chktexrc 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. -- 2.43.2