summaryrefslogtreecommitdiffstats
path: root/Modules/GNUInstallDirs.cmake
Commit message (Collapse)AuthorAgeFilesLines
* GNUInstallDirs: Add special cases for certain prefixesAlex Turbov2015-06-181-3/+70
| | | | | | | | | 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.
* GNUInstallDirs: Improve documentation formattingBrad King2015-06-161-27/+32
| | | | Also consolidate the description of each variable.
* Modules: Format documentation to avoid over-long preformatted linesBrad King2014-10-221-23/+34
| | | | | | Convert several preformatted code block literals that enumerate lists of options or variables to use reST definition lists instead. Manually wrap other long lines in code blocks.
* Fix typo in Modules/GNUInstallDirs.cmake (#15176)David Coppa2014-09-291-2/+2
| | | | | Commit d4fdd9c189f85d659f4294f8ec6da3e7e51215ec ("GNUInstallDirs: use the proper default for info and man paths on OpenBSD") introduced a typo.
* GNUInstallDirs: use the proper default for info and man paths on OpenBSDRolf Eike Beer2014-05-201-8/+20
|
* GNUInstallDirs: Fix CMAKE_INSTALL_LIBDIR on DebianDaniele E. Domenichelli2014-01-151-5/+59
| | | | | | | | | | When not installing in /usr (i.e. /usr/local) on Debian/Ubuntu, the multiarch path is not in ldconfig path, and therefore libraries cannot be found, unless the user manually modifies the files in /etc/ld.so.conf.d, in order to include /usr/local/lib/<arch>. This patch fixes this issue by using "lib/<arch>" only if the user is installing the software in /usr, and uses "lib" in all the other cases.
* GNUInstallDirs: Use multiarch on Debian with FreeBSD and HURD kernelsDimitri John Ledkov2013-12-191-1/+1
|
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-26/+43
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* GNUInstallDirs: add support for Debian multiarchAlex Neundorf2011-12-141-12/+18
| | | | | | | This patch makes CMAKE_INSTALL_LIBDIR default to the debian multiarch dir if present, e.g. lib/i386-linux-gnu/ Alex
* Fix #11964 Handle lib64 library on LinuxEric NOULARD2011-03-311-2/+23
| | | | | | | | | | | | | | | | The AMD64 ABI document http://www.x86-64.org/documentation/abi.pdf does specify that 64bits binary libraries should end up in <prefix>/lib64 and 32bits ones in <prefix>/lib. All but debian based distros do so, and some like OpenSUSE even enforce the rule when packaging with RPM and refuse to build the RPM if this is not the case. After some discussion (see the bug notes) we cannot do that behind the scene and the current fix supposes that the user shall use the CMAKE_INSTALL_LIBDIR variables content in its INSTALL rules if he wants to put the lib in the right place. CMAKE_INSTALL_LIBDIR shall have the appropriate value depending on the Linux distribution found and 32/64bitness of the host. The cross-compiling case (even 32bits compile on a 64bits host) is not handled.
* GNUInstallDirs: Propagate DATAROOTDIR changes to dependent defaultsBrad King2011-03-231-10/+22
|
* GNUInstallDirs: Simplify and clarify documentationBrad King2011-02-281-47/+30
|
* Add GNUInstallDirs module to define GNU layout (#3976)Nikita Krupen'ko2011-02-281-0/+166
Provide CMAKE_INSTALL_* variables to help install files according to the GNU standard layout: http://www.gnu.org/prep/standards/html_node/Directory-Variables.html