From: Jesse Gross Date: Thu, 6 Dec 2012 22:14:02 +0000 (-0800) Subject: Makefile.am: Exclude third-party code from config.h check. X-Git-Tag: sliver-openvswitch-1.9.90-3~10^2~108 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=fedbc4d62ec34af4fe1a48895b18c45e1c13e931 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 --- 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 ."; \