[PATCH] 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:18:21 UTC 2017


Review at  https://gerrit.osmocom.org/3728

gen_makefile: tweak edit detector

Change-Id: I6a1753e24b29226894fdfcac8132910501a633b8
---
M gen_makefile.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/28/3728/1

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: newchange
Gerrit-Change-Id: I6a1753e24b29226894fdfcac8132910501a633b8
Gerrit-PatchSet: 1
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list