Replace invocation of "find" with test for a Makefile
This commit is contained in:
parent
c5d660d3f7
commit
d041d62d09
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -74,7 +74,9 @@ $(TARGETS): %: .FORCE
|
|||
|
||||
$(BIN_TARGET_TESTS): %-test: % .FORCE
|
||||
@$(ECHO) "\t[BINTEST]:\t$@"
|
||||
find $(subst -test,,$@) -name "tests" -type d -exec $(MAKE) -j 1 -C {} \;
|
||||
if [[ -f $(subst -test,,$@)/tests/Makefile ]]; then \
|
||||
$(MAKE) -C $(subst -test,,$@)/tests || exit 1;\
|
||||
fi;
|
||||
|
||||
$(RELEASE_TARGETS): %: .FORCE
|
||||
@$(ECHO) "\t[RELEASE]:\t$(subst -release,,$@)"
|
||||
|
|
Loading…
Reference in a new issue