aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/ips.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/rules/ips.mk b/rules/ips.mk
index aaddf20..184d517 100644
--- a/rules/ips.mk
+++ b/rules/ips.mk
@@ -131,7 +131,10 @@ check-build-dep-stamp: check-ips-build-dep-stamp
# issue 'make d=' to skip dependency checking:
check-ips-build-dep-stamp: d=true
check-ips-build-dep-stamp:
- [ -z "$d" ] || [ -z "$(build-depends)" ] || pkg list $(build-depends)
+ @[ -z "$d" ] || [ -z "$(build-depends)" ] || pkg list $(build-depends) || \
+ (echo "type '$(MAKE) build-dep' to install build dependencies"; \
+ echo "or add 'd=' to command, e. g. '$(MAKE) build d='"; \
+ false)
touch $@