From 8e41d44b38e5200460da2bbdd0859ac43d72c33d Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sat, 21 Apr 2018 12:49:19 +1000 Subject: Help: Document missing variables for productbuild CPack generator Missing variables were CPACK_PREFLIGHT__SCRIPT and CPACK_POSTFLIGHT__SCRIPT. --- Modules/CPackProductBuild.cmake | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Modules/CPackProductBuild.cmake b/Modules/CPackProductBuild.cmake index 4779b95..ee78d8d 100644 --- a/Modules/CPackProductBuild.cmake +++ b/Modules/CPackProductBuild.cmake @@ -47,6 +47,22 @@ # Specify a specific keychain to search for the signing identity. # # +# .. variable:: CPACK_PREFLIGHT__SCRIPT +# +# Full path to a file that will be used as the ``preinstall`` script for the +# named ```` component's package, where ```` is the uppercased +# component name. No ``preinstall`` script is added if this variable is not +# defined for a given component. +# +# +# .. variable:: CPACK_POSTFLIGHT__SCRIPT +# +# Full path to a file that will be used as the ``postinstall`` script for the +# named ```` component's package, where ```` is the uppercased +# component name. No ``postinstall`` script is added if this variable is not +# defined for a given component. +# +# # .. variable:: CPACK_PRODUCTBUILD_RESOURCES_DIR # # If specified the productbuild generator copies files from this directory -- cgit v0.12