Use "mandoc -Tlint -Wwarning" instead of -Wstyle.
The style checks now include "referenced manual not found" warnings which is not helpful.
This commit is contained in:
@@ -119,8 +119,8 @@ lint: all
|
|||||||
else \
|
else \
|
||||||
rval=0; \
|
rval=0; \
|
||||||
for m in $(DOCS); do \
|
for m in $(DOCS); do \
|
||||||
echo $(MANDOC) -Tlint -Wstyle $$m; \
|
echo $(MANDOC) -Tlint -Wwarning $$m; \
|
||||||
$(MANDOC) -Tlint -Wstyle $$m || rval=`expr $$rval + $$?`; \
|
$(MANDOC) -Tlint -Wwarning $$m || rval=`expr $$rval + $$?`; \
|
||||||
done; \
|
done; \
|
||||||
exit $$rval; \
|
exit $$rval; \
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user