From: Isaac Hier Date: Tue, 27 Mar 2018 13:19:45 +0000 (-0400) Subject: Use package name for documentation/data install destinations X-Git-Tag: v6.8.2~2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e71c23e1c9e7d996fa67858d0d48c1cc70ebfd9;p=onig Use package name for documentation/data install destinations --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d1c9322..5755fd2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,15 +151,15 @@ install( DESTINATION "${config_install_dir}" ) -# Documentation +# Documentation (uses onig not oniguruma for directory) install(FILES doc/API doc/API.ja doc/RE doc/RE.ja doc/FAQ doc/FAQ.ja doc/CALLOUTS.BUILTIN doc/CALLOUTS.BUILTIN.ja doc/UNICODE_PROPERTIES - DESTINATION ${CMAKE_INSTALL_DOCDIR}) + DESTINATION "${CMAKE_INSTALL_DATADIR}/${PACKAGE_NAME}") -# Other files +# Other files (uses onig not oniguruma for directory) install(FILES AUTHORS COPYING HISTORY README.md - DESTINATION ${CMAKE_INSTALL_DATADIR}) + DESTINATION "${CMAKE_INSTALL_DATADIR}/${PACKAGE_NAME}") # pkg-config install(FILES ${CMAKE_CURRENT_BINARY_DIR}/oniguruma.pc