aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules/archive.mk2
-rw-r--r--rules/git.mk2
-rw-r--r--rules/ips.mk2
3 files changed, 5 insertions, 1 deletions
diff --git a/rules/archive.mk b/rules/archive.mk
index 12dd6d7..f49c44b 100644
--- a/rules/archive.mk
+++ b/rules/archive.mk
@@ -26,6 +26,8 @@ ifeq (,$(__archive_mk))
.SECONDEXPANSION:
+protodirs += $(sourcedir)
+
archive-validator := /usr/share/cibs/scripts/validate-archive
validate-%-stamp: download-%-stamp
if [ -n "$(checksum_$*)" ]; then \
diff --git a/rules/git.mk b/rules/git.mk
index b631f1a..23a96c7 100644
--- a/rules/git.mk
+++ b/rules/git.mk
@@ -24,6 +24,8 @@
# include guard
ifeq (,$(__git_mk))
+protodirs += $(sourcedir)
+
build-depends += developer/versioning/git
download-stamp: check-build-dep-stamp
diff --git a/rules/ips.mk b/rules/ips.mk
index 734b173..dabc26d 100644
--- a/rules/ips.mk
+++ b/rules/ips.mk
@@ -48,7 +48,7 @@ pkg-define += \
# Where to find files:
pkg-protos = $(protodirs:%=-d "%")
-pkg-protos += -d "$(sourcedir)" -d .
+pkg-protos += -d .
transformations := \
$(transdir)/defaults \