View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002845CMakeCPackpublic2006-02-07 12:172006-03-07 10:09
ReporterDavid Cole 
Assigned ToSystem Admin 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002845: CPack default NSIS template assumes make install directory structure
DescriptionThe default CPack NSIS template (Modules/NSIS.template.in) assumes a make install tree that looks like this:

-root
--bin
--doc
--share

Code is:
  File /r "${INST_DIR}\bin"
  File /r "${INST_DIR}\doc"
  File /r "${INST_DIR}\share"

Should be:
  File /r "${INST_DIR}\*.*"
(which picks up everything in INST_DIR, files and dirs recursively)

(A corresponding change also needs to be made to the uninstall, where a recursive RMDir needs to occur (possibly uninstalling modified end user files) or where CPack needs to populate a list of files installed explicitly so that only that which was installed gets uninstalled.)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0003689)
David Cole (manager)
2006-02-07 12:30

CPack shouldn't assume *anything* about the make install tree directory structure. Anything it requires should be derived after the "make install" step is executed based on what actually ends up in the make install tree...
(0003844)
System Admin (reporter)
2006-03-07 10:01

Fixed

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team