From: Todd C. Miller Date: Wed, 15 Aug 2018 16:02:40 +0000 (-0600) Subject: For the lint target, don't stop after the first manual that fails lint. X-Git-Tag: SUDO_1_8_24^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18ddabfebf4028664ad84ee7eb3e7de02aa0c4a5;p=sudo For the lint target, don't stop after the first manual that fails lint. --- diff --git a/doc/Makefile.in b/doc/Makefile.in index bfcbdf1bc..f5a5623f6 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -102,10 +102,12 @@ lint: all echo "make lint only supported for mdoc manuals" 1>&2; \ exit 1; \ else \ + rval=0; \ for m in $(DOCS); do \ echo $(MANDOC) -Tlint $$m; \ - $(MANDOC) -Tlint $$m; \ + $(MANDOC) -Tlint $$m || rval=`expr $$rval + $$?`; \ done; \ + exit $$rval; \ fi Makefile: $(srcdir)/Makefile.in