]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - Makefile
tc: m_connmark: fix action error messages
[mirror_iproute2.git] / Makefile
index ad96fd541580ae287350349752e3a7d1eb49aa18..48f469b0d0a85626b9ac2f36d61fece865c57737 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -113,8 +113,14 @@ clobber:
 
 distclean: clobber
 
-check:
+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