Skip to content
Snippets Groups Projects
Commit c96aff09 authored by Christian Engwer's avatar Christian Engwer
Browse files

- fix headercheck_IGNORE

- you can now add
  headercheck_IGNORE=foo.hh
  to your Makefile.am to skip the headercheck for foo.hh

[[Imported from SVN: r5690]]
parent 5ba5f80b
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,10 @@
# $Id: sourcescheck 5183 2008-04-27 17:37:08Z christi $
headercheck_PATTERN = *.hh
headercheck_IGNORE =
# set
# headercheck_IGNORE = foo.hh
# to ignore foo.hh
hctest.o: hctest.cc
$(CXX) -I$(top_srcdir) -DHEADERCHECK \
......@@ -30,6 +33,9 @@ headercheck-am:
fi; \
test "$$list" != "$(headercheck_PATTERN)" || exit 0; \
for f in $$list; do \
echo "$$f"; \
echo "$(headercheck_IGNORE)" | tr ' ' '\n' | grep -q "$$f"; \
if echo "$(headercheck_IGNORE)" | tr ' ' '\n' | grep -q "$$f"; then continue; fi; \
HEADER="$(subdir)/$$f"; \
test $$SILENT -ne 0 || echo "checking $$HEADER"; \
CCFILE=hctest.cc; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment