Fixes: c458e4a372d1 ("Makefile.am: Avoid include/ depending on lib/.")
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Joe Stringer <joe@ovn.org>
echo "See above for list of violations of the rule that"; \
echo "every C source file must #include <config.h>."; \
exit 1; \
- fi
- if grep '#include' $(srcdir)/include/openvswitch/*.h | \
+ fi; \
+ if grep '#include' include/openvswitch/*.h | \
grep -vE '(<.*>)|("openvswitch)|("openflow)'; \
then \
echo "See above for list of violations of the rule that"; \