[PATCH nft 4/6] build: add check for consistency of source tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The script "tools/check-tree.sh" performs some consistency checks of the
source tree. Call it from a make target "check-tree".

Signed-off-by: Thomas Haller <thaller@xxxxxxxxxx>
---
 Makefile.am | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index f39d6cdd0ca3..94c40fc3c6a2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -408,6 +408,7 @@ EXTRA_DIST += \
 EXTRA_DIST += \
 	files \
 	tests \
+	tools \
 	$(NULL)
 
 pkgconfigdir = $(libdir)/pkgconfig
@@ -429,6 +430,13 @@ check_more += check-tests-build
 
 ###############################################################################
 
+check-tree:
+	"$(srcdir)/tools/check-tree.sh"
+
+check_local += check-tree
+
+###############################################################################
+
 check-local: build-all $(check_local)
 
 .PHONY: check-local $(check_local)
-- 
2.41.0




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux