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

make sourcecheck work with out-of-source build

[[Imported from SVN: r6113]]
parent 265907b8
No related branches found
No related tags found
No related merge requests found
......@@ -13,12 +13,12 @@ sourcescheck: sourcescheck-recursive
sourcescheck-am:
@echo $(sourcescheck_LIST) | tr ' ' '\n' | \
grep '\.[hcm][hc4]$$' | sort | uniq > header_CHECK.install
@ls | \
@ls $(srcdir) | \
grep '\.[hcm][hc4]$$' | sort | uniq > header_CHECK.present
@RESULT=0; \
if diff header_CHECK.* | grep ^[\<\>] -q; then \
echo "==== WARNING ===="; \
echo -n "Directory: "; pwd; \
echo -n "Directory: $(srcdir)"; \
echo "Files present but not installed:"; \
diff -u header_CHECK.install header_CHECK.present | \
grep -v ^+++ | grep ^+; \
......
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