[MERGED] osmo-dev[master]: gen_makefile: tweak edit detector

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Aug 28 13:31:41 UTC 2017


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 <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list