]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - Makefile
ip link: Drop cache entry on any changes
[mirror_iproute2.git] / Makefile
index a513cf38ae6949b4457796d085ab6d8ca227cd7a..48f469b0d0a85626b9ac2f36d61fece865c57737 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -115,6 +115,12 @@ distclean: clobber
 
 check: all
        cd testsuite && $(MAKE) && $(MAKE) alltests
+       @if command -v man >/dev/null 2>&1; then \
+               echo "Checking manpages for syntax errors..."; \
+               $(MAKE) -C man check; \
+       else \
+               echo "man not installed, skipping checks for syntax errors."; \
+       fi
 
 cscope:
        cscope -b -q -R -Iinclude -sip -slib -smisc -snetem -stc