diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-04-12 18:00:27 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-04-12 18:00:27 +0200 |
commit | 7618fdd240e32292b2202c76550c67f09ee0d90e (patch) | |
tree | fac0d0f452c6e6ead98db6ce107e36eeb5f95b09 /doc/es/CMakeLists.txt | |
parent | 51d18c92e54b58c2a612ef765f7802226e62ba42 (diff) | |
download | weechat-7618fdd240e32292b2202c76550c67f09ee0d90e.zip |
core: use lower case for CMake keywords
Diffstat (limited to 'doc/es/CMakeLists.txt')
-rw-r--r-- | doc/es/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/es/CMakeLists.txt b/doc/es/CMakeLists.txt index 116c31c66..f73eb15ea 100644 --- a/doc/es/CMakeLists.txt +++ b/doc/es/CMakeLists.txt @@ -17,17 +17,17 @@ # along with WeeChat. If not, see <http://www.gnu.org/licenses/>. # -IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) +if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) # quickstart - ADD_CUSTOM_COMMAND( + add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.txt DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.txt 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}) + 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}) -ENDIF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND) +endif() |