From 61c11e9234b3f9e087aba94380892ab66abc1191 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Tue, 20 Mar 2018 18:25:26 +0100 Subject: make management of osmo-ttcn3 git repository dependencies automatic Add rules to deps/Makefile which ensure that 'make deps' puts the git repositories of dependencies into a known state. In particular, set the origin remote url to a known value, and check out a known commit into the work tree. This change ensures that ttcn3 builds run with 'make' will always use correct versions of dependencies. The 'make update-deps' now has the same effect as 'make deps', but it is not yet removed in case build scripts rely on its existence. The new 'make deps' target is fast enough to be run before every build. Change-Id: I561eee7e12d976cd2265ba1bb8cd22dd8c1a0735 Related: OS#3090 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0defc314..aeca0e18 100644 --- a/Makefile +++ b/Makefile @@ -20,9 +20,10 @@ default: deps all deps: $(MAKE) -C deps +# deps-update target for backwards compat; now does the same as 'make deps' .PHONY: deps-update deps-update: - $(MAKE) -C deps update + $(MAKE) -C deps compile: $(foreach dir,$(SUBDIRS),$(dir)/compile) clean: $(foreach dir,$(SUBDIRS),$(dir)/clean) -- cgit v1.2.3