Skip to content

Commit

Permalink
CMake: use GNUInstallDirs module for man pages directory
Browse files Browse the repository at this point in the history
  • Loading branch information
DerDakon authored and Rolf Eike Beer committed Oct 20, 2017
1 parent 62e8740 commit fcf5fec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/CMakeLists.txt
Expand Up @@ -18,6 +18,7 @@ find_package(PythonInterp REQUIRED)
find_program(EPSTOPDF NAMES epstopdf )
find_program(PDFLATEX NAMES pdflatex )
find_program(MAKEINDEX NAMES makeindex )
include(GNUInstallDirs)

if (doxygen_BINARY_DIR)
set(DOXYGEN_EXECUTABLE ${doxygen_BINARY_DIR}/bin/doxygen)
Expand Down Expand Up @@ -167,7 +168,7 @@ install(FILES
"${PROJECT_BINARY_DIR}/man/doxywizard.1"
"${PROJECT_BINARY_DIR}/man/doxysearch.1"
"${PROJECT_BINARY_DIR}/man/doxyindexer.1"
DESTINATION share/man/man1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
)

install(FILES
Expand Down

0 comments on commit fcf5fec

Please sign in to comment.