diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-06-28 20:08:16 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-06-28 20:08:16 +0200 |
commit | 1cadbdf6a924718fc90d327411051d47ee707713 (patch) | |
tree | 20374594ef5eaabb73077c7e83d607deadcbe5ae /doc/it/CMakeLists.txt | |
parent | fa8dc0f5311ab644798b7eb35c23787e03441418 (diff) | |
download | weechat-1cadbdf6a924718fc90d327411051d47ee707713.zip |
core: update man page and add translations (in french, german, italian, and japanese)
Diffstat (limited to 'doc/it/CMakeLists.txt')
-rw-r--r-- | doc/it/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt index 36aa62a6a..4c6bc401e 100644 --- a/doc/it/CMakeLists.txt +++ b/doc/it/CMakeLists.txt @@ -17,12 +17,25 @@ # along with WeeChat. If not, see <http://www.gnu.org/licenses/>. # +# man page +ADD_CUSTOM_COMMAND( + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1 + COMMAND ${A2X_EXECUTABLE} ARGS -a lang=it -a revision='WeeChat ${VERSION}' -d manpage -f manpage -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.it.txt + DEPENDS + ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.it.txt + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.txt + COMMENT "Building weechat-curses.1 (it)" +) +ADD_CUSTOM_TARGET(doc-man-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1 DESTINATION ${MANDIR}/it/man1) + # user's guide ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.it.html COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=it -a toc -a toclevels=4 -a date=`date "+%F"` -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_user.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.txt DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.txt + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.txt ${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt COMMENT "Building weechat_user.it.html" ) |