fixeria has uploaded this change for review.

View Change

Makefile: re-generate per-suite Makefile(s) if needed

Make per-suite Makefile depend on scripts generating it, so that
make will re-generate Makefile if any of its scripts has changed.
Otherwise, Makefile(s) are not re-generated automatically.

Change-Id: I8b73bf8e4c2f6e008eab9581f8c6840b22a5bd6a
---
M Makefile
1 file changed, 14 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/55/37255/1
diff --git a/Makefile b/Makefile
index 5a35e6e..cbb8083 100644
--- a/Makefile
+++ b/Makefile
@@ -87,7 +87,7 @@
all: $(foreach dir,$(SUBDIRS),$(dir)/all)

define DIR_Makefile_template
-$(1)/Makefile:
+$(1)/Makefile: $(1)/gen_links.sh $(1)/regen_makefile.sh
(cd $(1) && ./gen_links.sh && ./regen_makefile.sh)
endef


To view, visit change 37255. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I8b73bf8e4c2f6e008eab9581f8c6840b22a5bd6a
Gerrit-Change-Number: 37255
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-MessageType: newchange