Neels Hofmeyr has submitted this change and it was merged.
Change subject: gen_makefile: tweak edit detector
......................................................................
gen_makefile: tweak edit detector
Change-Id: I6a1753e24b29226894fdfcac8132910501a633b8
---
M gen_makefile.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Neels Hofmeyr: Looks good to me, approved; Verified
diff --git a/gen_makefile.py b/gen_makefile.py
index 5af7803..05db443 100755
--- a/gen_makefile.py
+++ b/gen_makefile.py
@@ -153,7 +153,7 @@
.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"
--
To view, visit https://gerrit.osmocom.org/3728
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6a1753e24b29226894fdfcac8132910501a633b8
Gerrit-PatchSet: 1
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>