make-rules/ips.mk
branchs11-update
changeset 4449 7824aa88c6b2
parent 4376 f3801994dee3
child 4521 983757fe4291
--- a/make-rules/ips.mk	Thu May 28 10:11:41 2015 -0700
+++ b/make-rules/ips.mk	Mon Jun 08 13:37:19 2015 -0700
@@ -82,6 +82,13 @@
 PUBLISH_TRANSFORMS +=	$(WS_TOP)/transforms/incorporate
 PUBLISH_TRANSFORMS +=	$(WS_TOP)/transforms/publish-cleanup
 
+# If we are building "pre-release" packages, add the pre-release license
+# action so that the package(s) display the terms and require acceptance
+# to install.
+ifeq ($(BUILD_TYPE),pre-release)
+PUBLISH_TRANSFORMS += $(WS_TOP)/transforms/pre-release
+endif
+
 PKG_MACROS +=		MACH=$(MACH)
 PKG_MACROS +=		MACH32=$(MACH32)
 PKG_MACROS +=		MACH64=$(MACH64)