make-rules/ips.mk
changeset 197 fd801ec0737c
parent 196 816e398e992c
child 206 a4474882bf60
--- a/make-rules/ips.mk	Fri Apr 01 09:53:52 2011 -0700
+++ b/make-rules/ips.mk	Fri Apr 22 12:12:20 2011 -0700
@@ -100,7 +100,11 @@
 
 .SECONDARY:
 
-publish:		build install $(BUILD_DIR)/.published-$(MACH)
+# allow publishing to be overridden, such as when
+# a package is for one architecture only.
+PUBLISH_STAMP ?= $(BUILD_DIR)/.published-$(MACH)
+
+publish:		build install $(PUBLISH_STAMP)
 
 sample-manifest:	$(GENERATED).p5m