Changes to CMake logic for binary packaging

- pre/post install scripts now track configuration files that may
  be clobbered on package install/upgrade through the
  INSTALLED_CONFIG_FILES CMake variable and attempts to make backups
  when the distribution's file differs from the existing file.
This commit is contained in:
Jon Siwek 2011-01-13 21:52:29 -06:00
parent 7936782057
commit 8d4f487add
10 changed files with 151 additions and 10 deletions

4
configure vendored
View file

@ -45,7 +45,7 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
--with-perftools=PATH path to Google Perftools install root
Packaging Options (for developers):
--enable-package toggles special build logic for binary packaging
--package toggles special build logic for binary packaging
--ignore-dirs=PATHS paths to ignore when creating source package
(semicolon delimited and quoted when multiple)
--pkg-name-prefix=NAME use the given name as the package prefix instead
@ -165,7 +165,7 @@ while [ $# -ne 0 ]; do
--with-perftools=*)
append_cache_entry GooglePerftools_ROOT_DIR PATH $optarg
;;
--enable-package)
--package)
append_cache_entry PACKAGING_MODE BOOL true
;;
--ignore-dirs=*)