2012-01-26 18:08:34 +01:00
|
|
|
#
|
2016-01-01 11:09:53 +01:00
|
|
|
# Copyright (C) 2012-2016 Sébastien Helleu <flashcode@flashtux.org>
|
2012-01-26 18:08:34 +01:00
|
|
|
#
|
|
|
|
# This file is part of WeeChat, the extensible chat client.
|
|
|
|
#
|
|
|
|
# WeeChat is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# WeeChat is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
|
2014-04-12 18:00:27 +02:00
|
|
|
if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
2013-07-31 13:28:59 +02:00
|
|
|
|
|
|
|
# quickstart
|
2014-04-12 18:00:27 +02:00
|
|
|
add_custom_command(
|
2013-07-31 13:28:59 +02:00
|
|
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html
|
2015-01-12 21:53:34 +01:00
|
|
|
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.asciidoc
|
2013-07-31 13:28:59 +02:00
|
|
|
DEPENDS
|
2015-01-14 07:35:56 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
|
2014-05-25 12:25:58 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.asciidoc
|
2015-01-12 21:53:34 +01:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
2013-07-31 13:28:59 +02:00
|
|
|
COMMENT "Building weechat_quickstart.es.html"
|
|
|
|
)
|
2014-04-12 18:00:27 +02:00
|
|
|
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})
|
2013-07-31 13:28:59 +02:00
|
|
|
|
2014-04-12 18:00:27 +02:00
|
|
|
endif()
|