[cmake-developers] Documentation install directory

Brad King brad.king at kitware.com
Mon Mar 31 10:21:46 EDT 2014


On 03/31/2014 10:15 AM, Stephen Kelly wrote:
> According to packagers on IRC, documentation should be installed to 
> <prefix>/share/doc. Currently it looks like CMake 3.0 installs to 
> <prefix>/doc by default, if I'm reading 
> Source/CMakeInstallDestinations.cmake correctly.
> 
>  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=322762
> 
> Should that be changed?

The defaults are for local user-built installs and the upstream
binary distributions.  Packagers on specific distributions should
set CMAKE_DOC_DIR and CMAKE_MAN_DIR themselves when building.

-Brad




More information about the cmake-developers mailing list