diff options
author | Johan Persson <[email protected]> | 2015-02-25 13:23:34 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-05-07 11:52:40 +0300 |
commit | b970686c2bc9a2c15d7f8e257885bd153c7a8f0d (patch) | |
tree | c2f721ad0c221f3eb42632bfa26c0fda7b0fe36a | |
parent | d2dd2424ecd258dd13135c2858c3f8cef3d74790 (diff) | |
download | erlang.mk-b970686c2bc9a2c15d7f8e257885bd153c7a8f0d.tar.gz erlang.mk-b970686c2bc9a2c15d7f8e257885bd153c7a8f0d.tar.bz2 erlang.mk-b970686c2bc9a2c15d7f8e257885bd153c7a8f0d.zip |
Support for copying dependencies
-rw-r--r-- | core/deps.mk | 2 | ||||
-rw-r--r-- | erlang.mk | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/deps.mk b/core/deps.mk index 74bc30b..2fb91fe 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -89,6 +89,8 @@ define dep_fetch cd $(DEPS_DIR)/$(1) && hg update -q $$$$COMMIT; \ elif [ "$$$$VS" = "svn" ]; then \ svn checkout $$$$REPO $(DEPS_DIR)/$(1); \ + elif [ "$$$$VS" = "cp" ]; then \ + cp -R $$$$REPO $(DEPS_DIR)/$(1); \ else \ echo "Unknown or invalid dependency: $(1). Please consult the erlang.mk README for instructions." >&2; \ exit 78; \ @@ -194,6 +194,8 @@ define dep_fetch cd $(DEPS_DIR)/$(1) && hg update -q $$$$COMMIT; \ elif [ "$$$$VS" = "svn" ]; then \ svn checkout $$$$REPO $(DEPS_DIR)/$(1); \ + elif [ "$$$$VS" = "cp" ]; then \ + cp -R $$$$REPO $(DEPS_DIR)/$(1); \ else \ echo "Unknown or invalid dependency: $(1). Please consult the erlang.mk README for instructions." >&2; \ exit 78; \ |