mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 18:08:23 +00:00
For the lint target, don't stop after the first manual that fails lint.
This commit is contained in:
parent
7a929ce135
commit
18ddabfebf
@ -102,10 +102,12 @@ lint: all
|
|||||||
echo "make lint only supported for mdoc manuals" 1>&2; \
|
echo "make lint only supported for mdoc manuals" 1>&2; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
else \
|
else \
|
||||||
|
rval=0; \
|
||||||
for m in $(DOCS); do \
|
for m in $(DOCS); do \
|
||||||
echo $(MANDOC) -Tlint $$m; \
|
echo $(MANDOC) -Tlint $$m; \
|
||||||
$(MANDOC) -Tlint $$m; \
|
$(MANDOC) -Tlint $$m || rval=`expr $$rval + $$?`; \
|
||||||
done; \
|
done; \
|
||||||
|
exit $$rval; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in
|
Makefile: $(srcdir)/Makefile.in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user