From fedbc4d62ec34af4fe1a48895b18c45e1c13e931 Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Thu, 6 Dec 2012 14:14:02 -0800 Subject: [PATCH] Makefile.am: Exclude third-party code from config.h check. It doesn't make sense to enforce our rules for code in the third- party directory. Signed-off-by: Jesse Gross --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 08cf395c0..b00b82ccb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -175,7 +175,7 @@ config-h-check: @cd $(srcdir); \ if test -e .git && (git --version) >/dev/null 2>&1 && \ git grep -L '#include ' `git ls-files | grep '\.c$$' | \ - grep -vE '^datapath|^lib/sflow'`; \ + grep -vE '^datapath|^lib/sflow|^third-party'`; \ then \ echo "See above for list of violations of the rule that"; \ echo "every C source file must #include ."; \ -- 2.47.0