2007-05-21 16:30:04 +00:00
|
|
|
#
|
2020-01-04 10:41:26 +01:00
|
|
|
# Copyright (C) 2003-2020 Sébastien Helleu <flashcode@flashtux.org>
|
2010-06-22 19:46:28 +02:00
|
|
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
|
|
|
#
|
|
|
|
# This file is part of WeeChat, the extensible chat client.
|
|
|
|
#
|
|
|
|
# WeeChat is free software; you can redistribute it and/or modify
|
2007-05-21 16:30:04 +00:00
|
|
|
# it under the terms of the GNU General Public License as published by
|
2007-07-02 12:25:13 +00:00
|
|
|
# the Free Software Foundation; either version 3 of the License, or
|
2007-05-21 16:30:04 +00:00
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
2010-06-22 19:46:28 +02:00
|
|
|
# WeeChat is distributed in the hope that it will be useful,
|
2007-05-21 16:30:04 +00:00
|
|
|
# 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
|
2018-11-29 23:16:07 +01:00
|
|
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
2007-05-21 16:30:04 +00:00
|
|
|
#
|
|
|
|
|
2014-04-12 18:00:27 +02:00
|
|
|
if(ENABLE_MAN OR ENABLE_DOC)
|
2016-05-03 21:31:55 +02:00
|
|
|
find_package(Asciidoctor)
|
|
|
|
if(ASCIIDOCTOR_FOUND)
|
2020-04-18 20:37:54 +02:00
|
|
|
set(ASCIIDOCTOR_ARGS -a experimental -a "prewrap!" -a icons=font -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=prettify)
|
2016-09-03 08:07:21 +02:00
|
|
|
add_subdirectory(cs)
|
|
|
|
add_subdirectory(de)
|
2014-07-20 19:16:01 +02:00
|
|
|
add_subdirectory(en)
|
2016-09-03 08:07:21 +02:00
|
|
|
add_subdirectory(es)
|
2014-07-20 19:16:01 +02:00
|
|
|
add_subdirectory(fr)
|
|
|
|
add_subdirectory(it)
|
2016-09-03 08:07:21 +02:00
|
|
|
add_subdirectory(ja)
|
2014-07-20 19:16:01 +02:00
|
|
|
add_subdirectory(pl)
|
|
|
|
add_subdirectory(ru)
|
2019-09-15 07:49:03 +02:00
|
|
|
else()
|
|
|
|
message(SEND_ERROR "Asciidoctor not found")
|
2014-04-12 18:00:27 +02:00
|
|
|
endif()
|
|
|
|
endif()
|