[ovs-dev] [PATCH] Makefile.am: Exclude third-party code from config.h check.
Jesse Gross
jesse at nicira.com
Thu Dec 6 22:14:02 UTC 2012
It doesn't make sense to enforce our rules for code in the third-
party directory.
Signed-off-by: Jesse Gross <jesse at nicira.com>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 08cf395..b00b82c 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 <config\.h>' `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 <config.h>."; \
--
1.7.9.5
More information about the dev
mailing list