aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)