[cmake-developers] [CMake 0011665]: current implementation of CPACK_*_SCRIPT useless when project has subcomponents
Mantis Bug Tracker
mantis at public.kitware.com
Thu Jan 6 15:31:26 EST 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=11665
======================================================================
Reported By: Matthieu Patou
Assigned To:
======================================================================
Project: CMake
Issue ID: 11665
Category: CPack
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-01-06 15:31 EST
Last Modified: 2011-01-06 15:31 EST
======================================================================
Summary: current implementation of CPACK_*_SCRIPT useless
when project has subcomponents
Description:
If the project has or more CPACK_COMPONENT_<name>_* entry then packagemanager
will not take care of any preflight/postflight/postupgrade script either in
Contents/Resources or Contents/Resources/<lang>.lproj
Steps to Reproduce:
An analysis of a package created with packagemaker shows that this tool create a
separated subpackage per script (ie. project-preflight.pkg oe
project-postflight.pkg), inside this package the needed script (postflight,
postupgrade, ...) is located in Contents/Resources.
CPack should do the same if subcomponents are present, the other option is to
have CPACK_COMPONENT_<NAME>_*_SCRIPT so that a script can be specified on a
subcomponent (tested manually, it works).
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-01-06 15:31 Matthieu Patou New Issue
======================================================================
More information about the cmake-developers
mailing list