X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=48f469b0d0a85626b9ac2f36d61fece865c57737;hb=a7cd7badedcb643dc1adb41edeb4cf8e4d9ec063;hp=7d62468c6638ec8ea00e2d7241540bc2eaa2ba31;hpb=fb417073a3caf0e74292e4d6ac7e786fb0ae02df;p=mirror_iproute2.git diff --git a/Makefile b/Makefile index 7d62468c..48f469b0 100644 --- a/Makefile +++ b/Makefile @@ -40,9 +40,6 @@ DEFINES+=-DCONFDIR=\"$(CONFDIR)\" \ -DNETNS_RUN_DIR=\"$(NETNS_RUN_DIR)\" \ -DNETNS_ETC_DIR=\"$(NETNS_ETC_DIR)\" -#options for decnet -ADDLIB+=dnet_ntop.o dnet_pton.o - #options for mpls ADDLIB+=mpls_ntop.o mpls_pton.o @@ -116,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