summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-03-20 18:25:26 +0100
committerHarald Welte <laforge@gnumonks.org>2018-03-21 10:25:29 +0000
commit61c11e9234b3f9e087aba94380892ab66abc1191 (patch)
treeeda9a01f7510e7d95b5a9a766abeafe4d0d7086e /Makefile
parentfeb6fa4413668fc2ba14b7c5702b4b12cc1314fb (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0defc31..aeca0e1 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)