From 705f8f414783f5e82a4f909fc456662cabb5feb0 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Sun, 17 Jan 2016 13:02:42 -0800 Subject: cmake: Fix installation directories for man pages We're not (yet) using the GnuInstallDirs module, so we don't have things like CMAKE_INSTALL_MANDIR and such defined. (bzr r14606) --- CMakeScripts/Pod2man.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeScripts') diff --git a/CMakeScripts/Pod2man.cmake b/CMakeScripts/Pod2man.cmake index 839e79d80..3189192de 100644 --- a/CMakeScripts/Pod2man.cmake +++ b/CMakeScripts/Pod2man.cmake @@ -48,7 +48,7 @@ macro(pod2man PODFILE_FULL RELEASE SECTION CENTER) ) install( FILES ${MANFILE_FULL} - DESTINATION ${CMAKE_INSTALL_MANDIR}/man${SECTION} + DESTINATION ${CMAKE_INSTALL_PREFIX}/${SHARE_INSTALL}/man/man${SECTION} ) endif() endmacro(pod2man PODFILE NAME SECTION CENTER) -- cgit v1.2.3