X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjotex.git;a=blobdiff_plain;f=GNUmakefile;fp=GNUmakefile;h=3369c9ce36171423c9707bee884447446fb02e98;hp=dd8af234683c49057a0045aa3e3919f17835cb01;hb=d1b8ba89c19422cb400169eb0cc29f4cb08f8b35;hpb=f82e8e51ac99547bab1a02d678a1476971f17444 diff --git a/GNUmakefile b/GNUmakefile index dd8af23..3369c9c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -202,7 +202,8 @@ check-boxes: $(PN).log .PHONY: check-chktex CHKTEX = chktex --localrc .chktexrc --quiet --inputfiles=0 check-chktex: - @[ -z "$(shell $(CHKTEX) mjotex.sty)" ] + @chktexout=$$($(CHKTEX) $(PN).tex); \ + test -z "$${chktexout}" || { echo "$${chktexout}" 1>&2; exit 1; } # Ensure that there are no undefined references in the document by # parsing the log file for said warnings.