summaryrefslogtreecommitdiff
path: root/doc/es
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-04-01 00:56:25 -0400
committerSébastien Helleu <flashcode@flashtux.org>2020-04-12 10:16:41 +0200
commit683464626d5dca2647c6b1ce2a450fc918af570a (patch)
tree377c73e422d4bf6a7fb6a54c0b6d78c87beed4f3 /doc/es
parent8bdd540df72c3a609e9d51a5c52cf2d65f96d79b (diff)
downloadweechat-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/es')
-rw-r--r--doc/es/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/es/CMakeLists.txt b/doc/es/CMakeLists.txt
index 856430087..4013d0b09 100644
--- a/doc/es/CMakeLists.txt
+++ b/doc/es/CMakeLists.txt
@@ -30,6 +30,6 @@ if(ENABLE_DOC)
COMMENT "Building weechat_quickstart.es.html"
)
add_custom_target(doc-quickstart-es ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
endif()