mirror of https://gerrit.osmocom.org/osmo-dev
gen_makefile: tweak edit detector
Change-Id: I6a1753e24b29226894fdfcac8132910501a633b8
This commit is contained in:
parent
feed50b49c
commit
2509d09ddf
|
@ -153,7 +153,7 @@ def gen_make(proj, deps, configure_opts, jobs, make_dir, src_dir, build_dir, url
|
|||
|
||||
.PHONY: .make.{proj}.detect_edits
|
||||
.make.{proj}.detect_edits:
|
||||
@test -z "$(shell find {src_proj} -newer .make.{proj}.last_edited -name "*.[hc]")" || (touch .make.{proj}.last_edited; echo {proj} edited)
|
||||
@test -z "$(shell find {src_proj} -newer .make.{proj}.last_edited -name "*.[hc]" '(' -name "*.[hc]" -or -name "Makefile.am" -or -name "*.py" ')' )" || (touch .make.{proj}.last_edited; echo {proj} edited)
|
||||
|
||||
.make.{proj}.build: .make.{proj}.configure .make.{proj}.last_edited
|
||||
@echo "\n\n\n===== $@\n"
|
||||
|
|
Loading…
Reference in New Issue