For the lint target, don't stop after the first manual that fails lint.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user