diff options
author | derwinlu <[email protected]> | 2017-02-08 18:09:01 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-05-15 15:18:42 +0200 |
commit | 5fd792337b5627f3f4c9af4488591dbb291299d8 (patch) | |
tree | df3c75f1576ac7c939796aebff01ffb500e6a1ac /core | |
parent | 3f8688e0d0526b74993d64a166e9ba8559c687e4 (diff) | |
download | erlang.mk-5fd792337b5627f3f4c9af4488591dbb291299d8.tar.gz erlang.mk-5fd792337b5627f3f4c9af4488591dbb291299d8.tar.bz2 erlang.mk-5fd792337b5627f3f4c9af4488591dbb291299d8.zip |
Add dep_fetch_ln
Diffstat (limited to 'core')
-rw-r--r-- | core/deps.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/deps.mk b/core/deps.mk index 2777af5..2c6f6d5 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -510,6 +510,10 @@ define dep_fetch_cp cp -R $(call dep_repo,$(1)) $(DEPS_DIR)/$(call dep_name,$(1)); endef +define dep_fetch_ln + ln -s $(call dep_repo,$(1)) $(DEPS_DIR)/$(call dep_name,$(1)); +endef + # Hex only has a package version. No need to look in the Erlang.mk packages. define dep_fetch_hex mkdir -p $(ERLANG_MK_TMP)/hex $(DEPS_DIR)/$1; \ |