summaryrefslogtreecommitdiff
path: root/doc/es
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-11-20 08:32:39 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-11-20 08:32:39 +0100
commit0226a1934aeb0f99e157f79ddfe8e47cb92ef16c (patch)
tree4dd1ffd8841f152273fadd26d77344045b5e79c6 /doc/es
parent6716985d278f60fc36dbbdcc3e7ae88c34bc34c4 (diff)
downloadweechat-0226a1934aeb0f99e157f79ddfe8e47cb92ef16c.zip
doc: use asciidoc attribute for date of docs (fix cmake warning)
CMake was displaying some warnings about a space in argument used for asciidoc command: -a date=`date "+%F"` Warning displayed: CMake Warning (dev) in doc/en/CMakeLists.txt: Syntax Warning in cmake code at /path/to/doc/en/CMakeLists.txt:41:82 Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it.
Diffstat (limited to 'doc/es')
-rw-r--r--doc/es/CMakeLists.txt2
-rw-r--r--doc/es/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/es/CMakeLists.txt b/doc/es/CMakeLists.txt
index 5b4e227b9..c8058ee92 100644
--- a/doc/es/CMakeLists.txt
+++ b/doc/es/CMakeLists.txt
@@ -22,7 +22,7 @@ IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html
- COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=es -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.txt
+ COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=es -a toc -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"
diff --git a/doc/es/Makefile.am b/doc/es/Makefile.am
index c57d3e634..5ed53d78a 100644
--- a/doc/es/Makefile.am
+++ b/doc/es/Makefile.am
@@ -36,7 +36,7 @@ all-local: $(man_targets) $(doc_targets)
# quickstart
weechat_quickstart.es.html: weechat_quickstart.es.txt
- $(ASCIIDOC) -a lang=es -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.es.html $(abs_top_srcdir)/doc/es/weechat_quickstart.es.txt
+ $(ASCIIDOC) -a lang=es -a toc -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.es.html $(abs_top_srcdir)/doc/es/weechat_quickstart.es.txt
# install man/docs