aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorJohan Persson <[email protected]>2015-02-25 13:23:34 +0100
committerLoïc Hoguin <[email protected]>2015-05-07 11:52:40 +0300
commitb970686c2bc9a2c15d7f8e257885bd153c7a8f0d (patch)
treec2f721ad0c221f3eb42632bfa26c0fda7b0fe36a /core/deps.mk
parentd2dd2424ecd258dd13135c2858c3f8cef3d74790 (diff)
downloaderlang.mk-b970686c2bc9a2c15d7f8e257885bd153c7a8f0d.tar.gz
erlang.mk-b970686c2bc9a2c15d7f8e257885bd153c7a8f0d.tar.bz2
erlang.mk-b970686c2bc9a2c15d7f8e257885bd153c7a8f0d.zip
Support for copying dependencies
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk2
1 files changed, 2 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; \