Skip to content

MAN: Do not prepend CMAKE_INSTALL_PREFIX to install destination

Guilherme Amadio requested to merge install-man into master

Causes double-prefix if set to an absolute path. That is, if the CMAKE_INSTALL_PREFIX is set to /usr, and CMAKE_INSTALL_MANDIR is set to /usr/share/man, then man pages end up getting installed into /usr/usr/share/man.

Edited by Guilherme Amadio

Merge request reports