From 5648f54f90a6f2d0058d81df35000b0477d10f46 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Fri, 14 Sep 2012 12:54:48 +0400 Subject: pre-publish target to allow final review --- rules/ips.mk | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'rules') 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 -- cgit v1.2.3