aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2013-04-17 14:25:37 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2013-04-17 14:25:37 +0400
commitc7ddc1c26d100c8e4c9f086594917ad7a3c00f9a (patch)
treede8d17b02e8bfa65db58bf3de0db07d5db25743c
parent207cd347945b53a1034d0ed8ad35037cf497e471 (diff)
downloadcibs-c7ddc1c26d100c8e4c9f086594917ad7a3c00f9a.tar.gz
Define $(download)
-rw-r--r--rules/git.mk1
-rw-r--r--rules/hg.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/rules/git.mk b/rules/git.mk
index 449f726..c7072db 100644
--- a/rules/git.mk
+++ b/rules/git.mk
@@ -28,6 +28,7 @@ build-depends += developer/versioning/git
download-stamp: check-build-dep-stamp
unpack-stamp: download-stamp
+download = $(git-url)
download-stamp:
[ -d $(sourcedir) ] || git clone $(git-url) $(sourcedir)
diff --git a/rules/hg.mk b/rules/hg.mk
index 2d974a0..df6e130 100644
--- a/rules/hg.mk
+++ b/rules/hg.mk
@@ -28,6 +28,7 @@ build-depends += developer/versioning/mercurial
download-stamp: check-build-dep-stamp
unpack-stamp: download-stamp
+download = $(hg-url)
download-stamp:
[ -d $(sourcedir) ] || hg clone $(hg-url) $(sourcedir)