summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeyorp <TheFreeYorp+git@gmail.com>2024-06-05 23:48:48 +0000
committerFreeyorp <TheFreeYorp+git@gmail.com>2024-06-05 23:57:13 +0000
commit43b4957af6f12a3aecde7121b16f34a26b9032ba (patch)
tree8aa4e9fa7278852360d3192adf19acc95f4ad237
parent4fcaed08178d736205ab14b6fd956ba0f09f445b (diff)
downloadtmwa-43b4957af6f12a3aecde7121b16f34a26b9032ba.tar.gz
tmwa-43b4957af6f12a3aecde7121b16f34a26b9032ba.tar.bz2
tmwa-43b4957af6f12a3aecde7121b16f34a26b9032ba.tar.xz
tmwa-43b4957af6f12a3aecde7121b16f34a26b9032ba.zip
real.make: rank-fwd: Allow src/conf specification
Previously, only ../conf style includes were excluded from expecting a fwd.hpp file to be provided for the directory. Permit src/conf style includes too.
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 4c12e06..56d9bce 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -596,7 +596,7 @@ test: test-rank-fwd
test-rank-fwd: ${CHECK_RANK_FWDS}
stamp/%.rank: src/%
$(MKDIR_FIRST)
- includes=$$(grep '#include.*".*/.*"' $< | sed 's/^[^"]*"//;s/"[^"]*$$//;s:/[^/]*$$::' | sort -u | fgrep -vx -e '..' -e 'conf-raw' -e '../conf'); \
+ includes=$$(grep '#include.*".*/.*"' $< | sed 's/^[^"]*"//;s/"[^"]*$$//;s:/[^/]*$$::' | sort -u | fgrep -vx -e '..' -e 'conf-raw' -e '../conf' -e 'src/conf'); \
for inc in $$includes; do if ! test -f ${<D}/fwd.hpp; then continue; fi; echo fgrep -q $${inc}/fwd.hpp ${<D}/fwd.hpp; fgrep -q $${inc}/fwd.hpp ${<D}/fwd.hpp || { echo ${<D}/fwd.hpp:''23: error: No $${inc}/fwd.hpp; exit 1; }; done
touch $@