]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - Makefile
iproute: Set ip/ip6 lwtunnel flags
[mirror_iproute2.git] / Makefile
index 25de3893cae4edddc9dfd59c88191b6211c433aa..48f469b0d0a85626b9ac2f36d61fece865c57737 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,12 +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 ipx
-ADDLIB+=ipx_ntop.o ipx_pton.o
-
 #options for mpls
 ADDLIB+=mpls_ntop.o mpls_pton.o
 
@@ -77,6 +71,7 @@ help:
        @echo " clean               - remove products of build"
        @echo " distclean           - remove configuration and build"
        @echo " install             - install binaries on local machine"
+       @echo " check               - run tests"
        @echo " cscope              - build cscope database"
        @echo " snapshot            - generate version number header"
        @echo ""
@@ -118,6 +113,15 @@ clobber:
 
 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