summaryrefslogtreecommitdiff
path: root/doc/ru
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/ru
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/ru')
-rw-r--r--doc/ru/CMakeLists.txt2
-rw-r--r--doc/ru/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/ru/CMakeLists.txt b/doc/ru/CMakeLists.txt
index 34f300962..79fd70c6a 100644
--- a/doc/ru/CMakeLists.txt
+++ b/doc/ru/CMakeLists.txt
@@ -22,7 +22,7 @@ IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ru.html
- COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=ru -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.ru.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ru.txt
+ COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=ru -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.ru.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ru.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ru.txt
COMMENT "Building weechat_quickstart.ru.html"
diff --git a/doc/ru/Makefile.am b/doc/ru/Makefile.am
index daf5c968e..0896abb4c 100644
--- a/doc/ru/Makefile.am
+++ b/doc/ru/Makefile.am
@@ -36,7 +36,7 @@ all-local: $(man_targets) $(doc_targets)
# quickstart
weechat_quickstart.ru.html: weechat_quickstart.ru.txt
- $(ASCIIDOC) -a lang=ru -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.ru.html $(abs_top_srcdir)/doc/ru/weechat_quickstart.ru.txt
+ $(ASCIIDOC) -a lang=ru -a toc -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.ru.html $(abs_top_srcdir)/doc/ru/weechat_quickstart.ru.txt
# install man/docs