aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-14 13:02:01 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-14 13:02:01 +0400
commit011e6c31009fe83d7b0db61b36cfd24638af8784 (patch)
tree4bc2d116888bb08504724972e63a6fe64845b0e2
parent241fa90a4d3bd7db097614c37318b62d1c5dabfc (diff)
downloadcibs-011e6c31009fe83d7b0db61b36cfd24638af8784.tar.gz
Pring help on missing dependencies
-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 $@