summaryrefslogtreecommitdiff
path: root/doc/es/CMakeLists.txt
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-01-12 21:53:34 +0100
committerSébastien Helleu <flashcode@flashtux.org>2015-01-12 21:53:34 +0100
commitfdcf46b476777e84f8959278fac4f443d2643fad (patch)
tree7fed68bd528e657a428c516b97a025781ef7c54c /doc/es/CMakeLists.txt
parentb2954aaf27b56b2412719809cc5b9b61c4fa3f85 (diff)
downloadweechat-fdcf46b476777e84f8959278fac4f443d2643fad.zip
doc: add translators in docs, move table of contents on the left, build HTML5
Diffstat (limited to 'doc/es/CMakeLists.txt')
-rw-r--r--doc/es/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/es/CMakeLists.txt b/doc/es/CMakeLists.txt
index 48348c176..768071615 100644
--- a/doc/es/CMakeLists.txt
+++ b/doc/es/CMakeLists.txt
@@ -22,9 +22,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# quickstart
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.asciidoc
+ COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.asciidoc
DEPENDS
+ asciidoc-toc2-css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.asciidoc
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_quickstart.es.html"
)
add_custom_target(doc-quickstart-es ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html)