make-rules/ips.mk
changeset 4439 94148b6e4407
parent 4355 918f15f3f728
child 4490 5a5296580120
--- a/make-rules/ips.mk	Fri Jun 05 13:54:25 2015 -0700
+++ b/make-rules/ips.mk	Mon Jun 08 13:06:14 2015 -0700
@@ -90,6 +90,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)