diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2020-04-01 00:56:25 -0400 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-04-12 10:16:41 +0200 |
commit | 683464626d5dca2647c6b1ce2a450fc918af570a (patch) | |
tree | 377c73e422d4bf6a7fb6a54c0b6d78c87beed4f3 /doc/ja | |
parent | 8bdd540df72c3a609e9d51a5c52cf2d65f96d79b (diff) | |
download | weechat-683464626d5dca2647c6b1ce2a450fc918af570a.zip |
cmake: rename internal variable SHAREDIR to DATAROOTDIR
This is how other build systems (e.g. autotools) see the variable, and
cmake's own GNUInstallDirs defines the same. It more clearly describes
what this setting does vs. the ambiguous "sharedir".
Diffstat (limited to 'doc/ja')
-rw-r--r-- | doc/ja/CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/ja/CMakeLists.txt b/doc/ja/CMakeLists.txt index ffefff934..ee4c76a13 100644 --- a/doc/ja/CMakeLists.txt +++ b/doc/ja/CMakeLists.txt @@ -72,7 +72,7 @@ if(ENABLE_DOC) COMMENT "Building weechat_user.ja.html" ) add_custom_target(doc-user-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.ja.html) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.ja.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME}) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.ja.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME}) # plugin API reference add_custom_command( @@ -86,7 +86,7 @@ if(ENABLE_DOC) COMMENT "Building weechat_plugin_api.ja.html" ) add_custom_target(doc-plugin-api-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.ja.html) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.ja.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME}) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.ja.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME}) # scripting guide add_custom_command( @@ -99,7 +99,7 @@ if(ENABLE_DOC) COMMENT "Building weechat_scripting.ja.html" ) add_custom_target(doc-scripting-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.ja.html) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.ja.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME}) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.ja.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME}) # FAQ add_custom_command( @@ -112,7 +112,7 @@ if(ENABLE_DOC) COMMENT "Building weechat_faq.ja.html" ) add_custom_target(doc-faq-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.ja.html) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.ja.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME}) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.ja.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME}) # quickstart add_custom_command( @@ -125,7 +125,7 @@ if(ENABLE_DOC) COMMENT "Building weechat_quickstart.ja.html" ) add_custom_target(doc-quickstart-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ja.html) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ja.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME}) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ja.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME}) # tester's guide add_custom_command( @@ -138,7 +138,7 @@ if(ENABLE_DOC) COMMENT "Building weechat_tester.ja.html" ) add_custom_target(doc-tester-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.ja.html) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.ja.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME}) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.ja.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME}) # relay protocol add_custom_command( @@ -151,7 +151,7 @@ if(ENABLE_DOC) COMMENT "Building weechat_relay_protocol.ja.html" ) add_custom_target(doc-relay-protocol-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.ja.html) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.ja.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME}) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.ja.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME}) # developer's guide add_custom_command( @@ -164,6 +164,6 @@ if(ENABLE_DOC) COMMENT "Building weechat_dev.ja.html" ) add_custom_target(doc-dev-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.ja.html) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.ja.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME}) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.ja.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME}) endif() |