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 \
|
||||
rval=0; \
|
||||
for m in $(DOCS); do \
|
||||
echo $(MANDOC) -Tlint -Wstyle $$m; \
|
||||
$(MANDOC) -Tlint -Wstyle $$m || rval=`expr $$rval + $$?`; \
|
||||
echo $(MANDOC) -Tlint -Wwarning $$m; \
|
||||
$(MANDOC) -Tlint -Wwarning $$m || rval=`expr $$rval + $$?`; \
|
||||
done; \
|
||||
exit $$rval; \
|
||||
fi
|
||||
|
Reference in New Issue
Block a user