aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules/ips.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/rules/ips.mk b/rules/ips.mk
index 6bd46c2..aaddf20 100644
--- a/rules/ips.mk
+++ b/rules/ips.mk
@@ -105,7 +105,11 @@ $(resolved-manifests): $(depend-manifests)
resolve-stamp: $(resolved-manifests)
touch $@
-publish-stamp: resolve-stamp
+
+# For convenience - make all, before publishing
+pre-publish: resolve-stamp
+
+publish-stamp: pre-publish
@if [ -n "$(ips-repo)" ]; then \
set -x; \
pkgsend -s $(ips-repo) publish --fmri-in-manifest \
@@ -127,7 +131,7 @@ 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" ] || pkg list $(build-depends)
+ [ -z "$d" ] || [ -z "$(build-depends)" ] || pkg list $(build-depends)
touch $@
@@ -135,7 +139,7 @@ check-ips-build-dep-stamp:
build-dep:
$(root) pkg install $(build-depends)
-.PHONY: publish build-dep
+.PHONY: publish build-dep pre-publish
__ips_mk := included
endif