Rebased, fixed regex for target name at end of line.

This commit is contained in:
mikeller 2018-05-14 19:18:20 +12:00
parent 4c11c6666b
commit 3a149dd450
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ test junittest:
check-target-independence:
$(V1) for test_target in $(VALID_TARGETS); do \
FOUND=$$(grep -rP "\W$${test_target}\W" src/main/ | grep -vP "(\/\/)|(\/\*).*\W$${test_target}\W" | grep -vP "^src/main/target"); \
FOUND=$$(grep -rP "\W$${test_target}\W?" src/main/ | grep -vP "(\/\/)|(\/\*).*\W$${test_target}\W?" | grep -vP "^src/main/target"); \
if [ "$${FOUND}" != "" ]; then \
echo "Target dependencies found:"; \
echo "$${FOUND}"; \