summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponents
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2015-06-15 18:16:57 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-18 12:59:34 (GMT)
commitc8bd37ec685c02736618af83ac894e96fc1e6ab8 (patch)
tree49f6721e20ea3baa778f0649cdb3f30430819e06 /Tests/CPackComponents
parent5f30f1754ac9a701cbd311bab86250dd237d86fd (diff)
downloadCMake-c8bd37ec685c02736618af83ac894e96fc1e6ab8.zip
CMake-c8bd37ec685c02736618af83ac894e96fc1e6ab8.tar.gz
CMake-c8bd37ec685c02736618af83ac894e96fc1e6ab8.tar.bz2
GNUInstallDirs: Add special cases for certain prefixes
Teach the module to handle SYSCONFDIR and LOCALSTATEDIR properly if CMAKE_INSTALL_PREFIX is set to `/` or `/usr` -- i.e. as expected by GNU Coding Standard (i.e. set SYSCONFDIR to `/etc` and `LOCALSTATEDIR` to `/var`). Also if CMAKE_INSTALL_PREFIX is set to /opt/pkg, `SYSCONFDIR` must be set to `/etc/opt/pkg` and `LOCALSTATEDIR` to `/var/opt/pkg` according to FHS.
Diffstat (limited to 'Tests/CPackComponents')
0 files changed, 0 insertions, 0 deletions