summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-01-14 07:35:56 +0100
committerSébastien Helleu <flashcode@flashtux.org>2015-01-14 07:35:56 +0100
commit66e0455951c245a8ac2d7b4bf0384e1d12405608 (patch)
tree1872c02dee55ca8190f253e5454989ebf53ed621
parentfdcf46b476777e84f8959278fac4f443d2643fad (diff)
downloadweechat-66e0455951c245a8ac2d7b4bf0384e1d12405608.zip
doc: remove build of asciidoc CSS files
This fixes a compilation problem on Debian Squeeze where cmake (2.8.2) seems to not work well with dependencies across different directories (/doc and /doc/xx).
-rw-r--r--doc/CMakeLists.txt28
-rw-r--r--doc/Makefile.am5
-rw-r--r--doc/asciidoc_toc.css (renamed from doc/asciidoc.css)2
-rw-r--r--doc/asciidoc_toc2.css219
-rw-r--r--doc/de/CMakeLists.txt10
-rw-r--r--doc/de/Makefile.am20
-rw-r--r--doc/en/CMakeLists.txt16
-rw-r--r--doc/en/Makefile.am32
-rw-r--r--doc/es/CMakeLists.txt2
-rw-r--r--doc/es/Makefile.am4
-rw-r--r--doc/fr/CMakeLists.txt16
-rw-r--r--doc/fr/Makefile.am32
-rw-r--r--doc/it/CMakeLists.txt12
-rw-r--r--doc/it/Makefile.am24
-rw-r--r--doc/ja/CMakeLists.txt16
-rw-r--r--doc/ja/Makefile.am32
-rw-r--r--doc/pl/CMakeLists.txt10
-rw-r--r--doc/pl/Makefile.am20
-rw-r--r--doc/ru/CMakeLists.txt2
-rw-r--r--doc/ru/Makefile.am4
-rw-r--r--doc/toc2.css21
21 files changed, 348 insertions, 179 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 26ade9959..2d47a9aac 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -25,32 +25,8 @@ if(ENABLE_MAN OR ENABLE_DOC)
if(ASCIIDOC_FOUND)
- # copy asciidoc.css in build dir
- add_custom_command(
- OUTPUT ${CMAKE_BINARY_DIR}/doc/asciidoc_toc.css
- COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/asciidoc.css asciidoc_toc.css
- DEPENDS
- ${CMAKE_CURRENT_SOURCE_DIR}/asciidoc.css
- ${CMAKE_CURRENT_SOURCE_DIR}/toc2.css
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- COMMENT "Building asciidoc_toc.css"
- )
- add_custom_target(asciidoc-toc-css ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/asciidoc_toc.css)
-
- # concat asciidoc.css + toc2.css into asciidoc_toc2.css (in build dir)
- add_custom_command(
- OUTPUT ${CMAKE_BINARY_DIR}/doc/asciidoc_toc2.css
- COMMAND cat ${CMAKE_CURRENT_SOURCE_DIR}/asciidoc.css ${CMAKE_CURRENT_SOURCE_DIR}/toc2.css > asciidoc_toc2.css
- DEPENDS
- ${CMAKE_CURRENT_SOURCE_DIR}/asciidoc.css
- ${CMAKE_CURRENT_SOURCE_DIR}/toc2.css
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- COMMENT "Building asciidoc_toc2.css"
- )
- add_custom_target(asciidoc-toc2-css ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/asciidoc_toc2.css)
-
- set(CSS_TOC -a stylesheet=${CMAKE_CURRENT_BINARY_DIR}/asciidoc_toc.css)
- set(CSS_TOC2 -a stylesheet=${CMAKE_CURRENT_BINARY_DIR}/asciidoc_toc2.css)
+ set(CSS_TOC -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/asciidoc_toc.css)
+ set(CSS_TOC2 -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/asciidoc_toc2.css)
set(ASCIIDOC_ARGS -a revision="${VERSION}" -f ${CMAKE_CURRENT_SOURCE_DIR}/asciidoc.conf)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 17ac5905a..68c32820d 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -18,11 +18,6 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
-BUILT_SOURCES = build-asciidoc-css
-build-asciidoc-css:
- cp $(abs_top_srcdir)/doc/asciidoc.css asciidoc_toc.css
- cat $(abs_top_srcdir)/doc/asciidoc.css $(abs_top_srcdir)/doc/toc2.css > asciidoc_toc2.css
-
SUBDIRS = . en fr it de pl es ru ja
EXTRA_DIST = docgen.py \
diff --git a/doc/asciidoc.css b/doc/asciidoc_toc.css
index 875d1f0b9..682d9e835 100644
--- a/doc/asciidoc.css
+++ b/doc/asciidoc_toc.css
@@ -1,4 +1,4 @@
-/* custom asciidoc styles */
+/* Custom asciidoc styles */
body {
margin: 1em 2em;
diff --git a/doc/asciidoc_toc2.css b/doc/asciidoc_toc2.css
new file mode 100644
index 000000000..d66d953d5
--- /dev/null
+++ b/doc/asciidoc_toc2.css
@@ -0,0 +1,219 @@
+/* Custom asciidoc styles */
+
+body {
+ margin: 1em 2em;
+ font-family: verdana, sans-serif;
+ font-size: 12px;
+}
+div.sectionbody, #author, #revnumber, #revdate, #revremark, #toctitle, #footer {
+ font-family: verdana, sans-serif;
+}
+a, a:visited, a:hover, a:active {
+ color: #00c;
+ text-decoration: none;
+}
+em {
+ color: #252;
+}
+strong {
+ color: #000;
+}
+tt {
+ color: #366;
+}
+#author {
+ color: #555;
+}
+#toc {
+ line-height: 1.4em;
+ padding-bottom: 3em;
+}
+#toctitle {
+ margin-bottom: .6em;
+ color: #555;
+}
+#toc .toclevel0, #toc .toclevel1 {
+ display: block;
+ font-size: 1em;
+}
+#toc .toclevel2, #toc .toclevel3, #toc .toclevel4 {
+ display: block;
+ font-size: 1em;
+}
+h1, h2, h3, h4, h5, h6 {
+ margin: 1.2em 0;
+}
+h1 {
+ padding: 1.2em;
+ border: 1px solid #c0d0ff;
+ border-radius: 8px;
+ box-shadow: 1px 1px 3px #aac;
+ background: #ddeaee;
+ background: -moz-linear-gradient(#bbddff, #eefaff);
+ background: -webkit-linear-gradient(#bbddff, #eefaff);
+ background: linear-gradient(#bbddff, #eefaff);
+ color: #224b8d;
+ font-size: 2.2em;
+ text-align: center;
+}
+h2 {
+ padding: .5em;
+ border: 1px solid #d0d0d0;
+ border-radius: 6px;
+ box-shadow: 1px 1px 2px #bbb;
+ background: #f2f2f2;
+ background: -moz-linear-gradient(#e0e0e0, #f6f6f6);
+ background: -webkit-linear-gradient(#e0e0e0, #f6f6f6);
+ background: linear-gradient(#e0e0e0, #f6f6f6);
+ color: #444;
+ font-size: 1.7em;
+}
+h3 {
+ border: none;
+ margin: .7em 0 1em 0;
+ color: #555;
+ font-size: 1.5em;
+}
+h4 {
+ color: #555;
+ font-size: 1.3em;
+}
+h5 {
+ color: #555;
+ font-size: 1.2em;
+}
+span.command {
+ padding: .2em .5em;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+ box-shadow: 1px 1px 2px #ccc;
+ margin-right: 12px;
+ background: #eee;
+ font-size: 1.1em;
+}
+p.table {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+div.listingblock > div.content {
+ border: 1px solid #e2e2e2;
+ border-radius: 4px;
+ background: #fbfbfb;
+}
+.listingblock pre {
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+table th {
+ background: #fbfbfb;
+ color: #000;
+ font-size: 1.1em;
+}
+table.tableblock, th.tableblock, td.tableblock, .tableblock table th, .tableblock table td {
+ border: 1px solid #bbb;
+}
+table.tableblock {
+ border: 2px solid #888;
+}
+div.title {
+ color: #525252;
+}
+div.admonitionblock .icon {
+ text-decoration: none;
+}
+dt.hdlist1 {
+ margin-bottom: .5em;
+ color: #252;
+}
+.ulist {
+ word-wrap: break-word;
+}
+.key {
+ padding: .1em .4em;
+ border-top: 1px solid #d5d5e5;
+ border-left: 1px solid #d5d5e5;
+ border-bottom: 1px solid #a5a5b5;
+ border-right: 1px solid #a5a5b5;
+ border-radius: 3px;
+ box-shadow: 1px 1px 3px #d5d5e5;
+ margin: 0 2px;
+ background: #eef;
+ font-family: monospace;
+ font-size: 1.1em;
+ line-height: 1.6em;
+}
+.key.ctrl {
+ border-top: 1px solid #dfd0d0;
+ border-left: 1px solid #dfd0d0;
+ border-bottom: 1px solid #afa0a0;
+ border-right: 1px solid #afa0a0;
+ border-radius: 3px;
+ box-shadow: 1px 1px 3px #dfd0d0;
+ background: #fff0f0;
+ text-transform: capitalize;
+}
+.key.alt {
+ border-top: 1px solid #dfc5b4;
+ border-left: 1px solid #dfc5b4;
+ border-bottom: 1px solid #af9484;
+ border-right: 1px solid #af9484;
+ border-radius: 3px;
+ box-shadow: 1px 1px 3px #dfc5b4;
+ background: #ffe4d4;
+ text-transform: capitalize;
+}
+.key.shift {
+ border-top: 1px solid #d5d5d5;
+ border-left: 1px solid #d5d5d5;
+ border-bottom: 1px solid #a5a5a5;
+ border-right: 1px solid #a5a5a5;
+ border-radius: 3px;
+ box-shadow: 1px 1px 3px #d5d5d5;
+ background: #f5f5f5;
+ text-transform: capitalize;
+}
+.key.other {
+ border-top: 1px solid #d0e0d0;
+ border-left: 1px solid #d0e0d0;
+ border-bottom: 1px solid #a0b0a0;
+ border-right: 1px solid #a0b0a0;
+ border-radius: 3px;
+ box-shadow: 1px 1px 3px #d0e0d0;
+ background: #eafaea;
+}
+.keyplus {
+ font-size: .8em;
+}
+.hexa {
+ padding: 0 .2em;
+ border: 1px solid #88b;
+ margin: 0 .2em;
+ color: #007;
+ font-family: monospace;
+ font-size: .85em;
+}
+#footer {
+ border-top: solid 1px silver;
+}
+
+/* Asciidoc styles with table of contents on the left (toc2) */
+
+body {
+ margin-left: 26em;
+ margin-right: 2em;
+}
+#toc {
+ width: 23em;
+}
+#toc .toclevel2 {
+ margin-left: 1.5em;
+ font-size: .9em;
+}
+#toc .toclevel3 {
+ margin-left: 3em;
+ font-size: .9em;
+}
+#toc .toclevel4 {
+ margin-left: 4.5em;
+ font-size: .9em;
+}
diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt
index db07317fc..2ee84569e 100644
--- a/doc/de/CMakeLists.txt
+++ b/doc/de/CMakeLists.txt
@@ -41,7 +41,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_USER} -o weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc
@@ -56,7 +56,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_SCRIPTING} -o weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_scripting.de.html"
@@ -69,7 +69,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_FAQ} -o weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc
DEPENDS
- asciidoc-toc-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_faq.de.html"
@@ -82,7 +82,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_quickstart.de.html"
@@ -95,7 +95,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_TESTER} -o weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_tester.de.html"
diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am
index 7b3559113..9f8e570ef 100644
--- a/doc/de/Makefile.am
+++ b/doc/de/Makefile.am
@@ -56,24 +56,24 @@ weechat.1: weechat.1.de.asciidoc cmdline_options.de.asciidoc
rm -rf tmp_man
# user's guide
-weechat_user.de.html: weechat_user.de.asciidoc cmdline_options.de.asciidoc $(wildcard autogen/user/*.asciidoc)
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.asciidoc
+weechat_user.de.html: weechat_user.de.asciidoc cmdline_options.de.asciidoc $(wildcard autogen/user/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.asciidoc
# scripting guide
-weechat_scripting.de.html: weechat_scripting.de.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.asciidoc
+weechat_scripting.de.html: weechat_scripting.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.asciidoc
# FAQ
-weechat_faq.de.html: weechat_faq.de.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.asciidoc
+weechat_faq.de.html: weechat_faq.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.asciidoc
# quickstart
-weechat_quickstart.de.html: weechat_quickstart.de.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.asciidoc
+weechat_quickstart.de.html: weechat_quickstart.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.asciidoc
# tester's guide
-weechat_tester.de.html: weechat_tester.de.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.asciidoc
+weechat_tester.de.html: weechat_tester.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.asciidoc
# install man/docs
diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt
index bdf02d5fb..f97ed8e07 100644
--- a/doc/en/CMakeLists.txt
+++ b/doc/en/CMakeLists.txt
@@ -41,7 +41,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_USER} -o weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc
@@ -56,7 +56,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_API} -o weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
@@ -70,7 +70,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_SCRIPTING} -o weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_scripting.en.html"
@@ -83,7 +83,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_FAQ} -o weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.asciidoc
DEPENDS
- asciidoc-toc-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_faq.en.html"
@@ -96,7 +96,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_quickstart.en.html"
@@ -109,7 +109,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_TESTER} -o weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_tester.en.html"
@@ -122,7 +122,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_RELAY} -o weechat_relay_protocol.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_relay_protocol.en.html"
@@ -135,7 +135,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_DEV} -o weechat_dev.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_dev.en.html"
diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am
index e12dffe16..edf72b27d 100644
--- a/doc/en/Makefile.am
+++ b/doc/en/Makefile.am
@@ -63,36 +63,36 @@ weechat.1: weechat.1.en.asciidoc cmdline_options.en.asciidoc
rm -rf tmp_man
# user's guide
-weechat_user.en.html: weechat_user.en.asciidoc cmdline_options.en.asciidoc $(wildcard autogen/user/*.asciidoc)
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.asciidoc
+weechat_user.en.html: weechat_user.en.asciidoc cmdline_options.en.asciidoc $(wildcard autogen/user/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.asciidoc
# plugin API reference
-weechat_plugin_api.en.html: weechat_plugin_api.en.asciidoc $(wildcard autogen/plugin_api/*.asciidoc)
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_plugin_api.en.html $(abs_top_srcdir)/doc/en/weechat_plugin_api.en.asciidoc
+weechat_plugin_api.en.html: weechat_plugin_api.en.asciidoc $(wildcard autogen/plugin_api/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_plugin_api.en.html $(abs_top_srcdir)/doc/en/weechat_plugin_api.en.asciidoc
# scripting guide
-weechat_scripting.en.html: weechat_scripting.en.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.en.html $(abs_top_srcdir)/doc/en/weechat_scripting.en.asciidoc
+weechat_scripting.en.html: weechat_scripting.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.en.html $(abs_top_srcdir)/doc/en/weechat_scripting.en.asciidoc
# FAQ
-weechat_faq.en.html: weechat_faq.en.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html $(abs_top_srcdir)/doc/en/weechat_faq.en.asciidoc
+weechat_faq.en.html: weechat_faq.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html $(abs_top_srcdir)/doc/en/weechat_faq.en.asciidoc
# quickstart
-weechat_quickstart.en.html: weechat_quickstart.en.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.asciidoc
+weechat_quickstart.en.html: weechat_quickstart.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.asciidoc
# tester's guide
-weechat_tester.en.html: weechat_tester.en.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.asciidoc
+weechat_tester.en.html: weechat_tester.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.asciidoc
# relay protocol
-weechat_relay_protocol.en.html: weechat_relay_protocol.en.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.asciidoc
+weechat_relay_protocol.en.html: weechat_relay_protocol.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.asciidoc
# developer's guide
-weechat_dev.en.html: weechat_dev.en.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_dev.en.html $(abs_top_srcdir)/doc/en/weechat_dev.en.asciidoc
+weechat_dev.en.html: weechat_dev.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_dev.en.html $(abs_top_srcdir)/doc/en/weechat_dev.en.asciidoc
# install man/docs
diff --git a/doc/es/CMakeLists.txt b/doc/es/CMakeLists.txt
index 768071615..409896849 100644
--- a/doc/es/CMakeLists.txt
+++ b/doc/es/CMakeLists.txt
@@ -24,7 +24,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_quickstart.es.html"
diff --git a/doc/es/Makefile.am b/doc/es/Makefile.am
index 546715277..40bef8f8b 100644
--- a/doc/es/Makefile.am
+++ b/doc/es/Makefile.am
@@ -35,8 +35,8 @@ endif
all-local: $(man_targets) $(doc_targets)
# quickstart
-weechat_quickstart.es.html: weechat_quickstart.es.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.es.html $(abs_top_srcdir)/doc/es/weechat_quickstart.es.asciidoc
+weechat_quickstart.es.html: weechat_quickstart.es.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.es.html $(abs_top_srcdir)/doc/es/weechat_quickstart.es.asciidoc
# install man/docs
diff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt
index f8caf4a16..0121e1c96 100644
--- a/doc/fr/CMakeLists.txt
+++ b/doc/fr/CMakeLists.txt
@@ -41,7 +41,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_USER} -o weechat_user.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc
@@ -56,7 +56,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_API} -o weechat_plugin_api.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
@@ -70,7 +70,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_SCRIPTING} -o weechat_scripting.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_scripting.fr.html"
@@ -83,7 +83,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_FAQ} -o weechat_faq.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.asciidoc
DEPENDS
- asciidoc-toc-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_faq.fr.html"
@@ -96,7 +96,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_quickstart.fr.html"
@@ -109,7 +109,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_TESTER} -o weechat_tester.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_tester.fr.html"
@@ -122,7 +122,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_RELAY} -o weechat_relay_protocol.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.fr.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.fr.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_relay_protocol.fr.html"
@@ -135,7 +135,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_DEV} -o weechat_dev.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.fr.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.fr.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_dev.fr.html"
diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am
index 5a1b78588..85e52c608 100644
--- a/doc/fr/Makefile.am
+++ b/doc/fr/Makefile.am
@@ -63,36 +63,36 @@ weechat.1: weechat.1.fr.asciidoc cmdline_options.fr.asciidoc
rm -rf tmp_man
# user's guide
-weechat_user.fr.html: weechat_user.fr.asciidoc cmdline_options.fr.asciidoc $(wildcard autogen/user/*.asciidoc)
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.fr.html $(abs_top_srcdir)/doc/fr/weechat_user.fr.asciidoc
+weechat_user.fr.html: weechat_user.fr.asciidoc cmdline_options.fr.asciidoc $(wildcard autogen/user/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.fr.html $(abs_top_srcdir)/doc/fr/weechat_user.fr.asciidoc
# plugin API reference
-weechat_plugin_api.fr.html: weechat_plugin_api.fr.asciidoc $(wildcard autogen/plugin_api/*.asciidoc)
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_plugin_api.fr.html $(abs_top_srcdir)/doc/fr/weechat_plugin_api.fr.asciidoc
+weechat_plugin_api.fr.html: weechat_plugin_api.fr.asciidoc $(wildcard autogen/plugin_api/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_plugin_api.fr.html $(abs_top_srcdir)/doc/fr/weechat_plugin_api.fr.asciidoc
# scripting guide
-weechat_scripting.fr.html: weechat_scripting.fr.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.fr.html $(abs_top_srcdir)/doc/fr/weechat_scripting.fr.asciidoc
+weechat_scripting.fr.html: weechat_scripting.fr.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.fr.html $(abs_top_srcdir)/doc/fr/weechat_scripting.fr.asciidoc
# FAQ
-weechat_faq.fr.html: weechat_faq.fr.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.fr.html $(abs_top_srcdir)/doc/fr/weechat_faq.fr.asciidoc
+weechat_faq.fr.html: weechat_faq.fr.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.fr.html $(abs_top_srcdir)/doc/fr/weechat_faq.fr.asciidoc
# quickstart
-weechat_quickstart.fr.html: weechat_quickstart.fr.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.fr.html $(abs_top_srcdir)/doc/fr/weechat_quickstart.fr.asciidoc
+weechat_quickstart.fr.html: weechat_quickstart.fr.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.fr.html $(abs_top_srcdir)/doc/fr/weechat_quickstart.fr.asciidoc
# tester's guide
-weechat_tester.fr.html: weechat_tester.fr.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.fr.html $(abs_top_srcdir)/doc/fr/weechat_tester.fr.asciidoc
+weechat_tester.fr.html: weechat_tester.fr.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.fr.html $(abs_top_srcdir)/doc/fr/weechat_tester.fr.asciidoc
# relay protocol
-weechat_relay_protocol.fr.html: weechat_relay_protocol.fr.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_relay_protocol.fr.html $(abs_top_srcdir)/doc/fr/weechat_relay_protocol.fr.asciidoc
+weechat_relay_protocol.fr.html: weechat_relay_protocol.fr.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_relay_protocol.fr.html $(abs_top_srcdir)/doc/fr/weechat_relay_protocol.fr.asciidoc
# developer's guide
-weechat_dev.fr.html: weechat_dev.fr.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_dev.fr.html $(abs_top_srcdir)/doc/fr/weechat_dev.fr.asciidoc
+weechat_dev.fr.html: weechat_dev.fr.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_dev.fr.html $(abs_top_srcdir)/doc/fr/weechat_dev.fr.asciidoc
# install man/docs
diff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt
index de65850d3..716ea13d5 100644
--- a/doc/it/CMakeLists.txt
+++ b/doc/it/CMakeLists.txt
@@ -41,7 +41,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.it.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_USER} -o weechat_user.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc
@@ -56,7 +56,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.it.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_API} -o weechat_plugin_api.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.it.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.it.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
@@ -70,7 +70,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.it.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_SCRIPTING} -o weechat_scripting.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.it.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.it.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_scripting.it.html"
@@ -83,7 +83,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.it.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_FAQ} -o weechat_faq.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.it.asciidoc
DEPENDS
- asciidoc-toc-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.it.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_faq.it.html"
@@ -96,7 +96,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.it.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.it.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.it.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_quickstart.it.html"
@@ -109,7 +109,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.it.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_TESTER} -o weechat_tester.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.it.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.it.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_tester.it.html"
diff --git a/doc/it/Makefile.am b/doc/it/Makefile.am
index d07cbf51e..5c2a0a4ce 100644
--- a/doc/it/Makefile.am
+++ b/doc/it/Makefile.am
@@ -58,28 +58,28 @@ weechat.1: weechat.1.it.asciidoc cmdline_options.it.asciidoc
rm -rf tmp_man
# user's guide
-weechat_user.it.html: weechat_user.it.asciidoc cmdline_options.it.asciidoc $(wildcard autogen/user/*.asciidoc)
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.it.html $(abs_top_srcdir)/doc/it/weechat_user.it.asciidoc
+weechat_user.it.html: weechat_user.it.asciidoc cmdline_options.it.asciidoc $(wildcard autogen/user/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.it.html $(abs_top_srcdir)/doc/it/weechat_user.it.asciidoc
# plugin API reference
-weechat_plugin_api.it.html: weechat_plugin_api.it.asciidoc $(wildcard autogen/plugin_api/*.asciidoc)
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_plugin_api.it.html $(abs_top_srcdir)/doc/it/weechat_plugin_api.it.asciidoc
+weechat_plugin_api.it.html: weechat_plugin_api.it.asciidoc $(wildcard autogen/plugin_api/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_plugin_api.it.html $(abs_top_srcdir)/doc/it/weechat_plugin_api.it.asciidoc
# scripting guide
-weechat_scripting.it.html: weechat_scripting.it.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.it.html $(abs_top_srcdir)/doc/it/weechat_scripting.it.asciidoc
+weechat_scripting.it.html: weechat_scripting.it.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.it.html $(abs_top_srcdir)/doc/it/weechat_scripting.it.asciidoc
# FAQ
-weechat_faq.it.html: weechat_faq.it.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.it.html $(abs_top_srcdir)/doc/it/weechat_faq.it.asciidoc
+weechat_faq.it.html: weechat_faq.it.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.it.html $(abs_top_srcdir)/doc/it/weechat_faq.it.asciidoc
# quickstart
-weechat_quickstart.it.html: weechat_quickstart.it.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.it.html $(abs_top_srcdir)/doc/it/weechat_quickstart.it.asciidoc
+weechat_quickstart.it.html: weechat_quickstart.it.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.it.html $(abs_top_srcdir)/doc/it/weechat_quickstart.it.asciidoc
# tester's guide
-weechat_tester.it.html: weechat_tester.it.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.it.html $(abs_top_srcdir)/doc/it/weechat_tester.it.asciidoc
+weechat_tester.it.html: weechat_tester.it.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.it.html $(abs_top_srcdir)/doc/it/weechat_tester.it.asciidoc
# install man/docs
diff --git a/doc/ja/CMakeLists.txt b/doc/ja/CMakeLists.txt
index 1392a1b51..820da7585 100644
--- a/doc/ja/CMakeLists.txt
+++ b/doc/ja/CMakeLists.txt
@@ -41,7 +41,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.ja.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_USER} -o weechat_user.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.ja.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.ja.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc
@@ -56,7 +56,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.ja.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_API} -o weechat_plugin_api.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.ja.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.ja.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
@@ -70,7 +70,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.ja.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_SCRIPTING} -o weechat_scripting.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.ja.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.ja.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_scripting.ja.html"
@@ -83,7 +83,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.ja.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_FAQ} -o weechat_faq.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.ja.asciidoc
DEPENDS
- asciidoc-toc-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.ja.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_faq.ja.html"
@@ -96,7 +96,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ja.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ja.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ja.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_quickstart.ja.html"
@@ -109,7 +109,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.ja.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_TESTER} -o weechat_tester.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.ja.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.ja.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_tester.ja.html"
@@ -122,7 +122,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.ja.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_RELAY} -o weechat_relay_protocol.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.ja.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.ja.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_relay_protocol.ja.html"
@@ -135,7 +135,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.ja.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_DEV} -o weechat_dev.ja.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.ja.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.ja.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_dev.ja.html"
diff --git a/doc/ja/Makefile.am b/doc/ja/Makefile.am
index f37a9d0ba..381d2a86d 100644
--- a/doc/ja/Makefile.am
+++ b/doc/ja/Makefile.am
@@ -62,36 +62,36 @@ weechat.1: weechat.1.ja.asciidoc cmdline_options.ja.asciidoc
rm -rf tmp_man
# user's guide
-weechat_user.ja.html: weechat_user.ja.asciidoc cmdline_options.ja.asciidoc $(wildcard autogen/user/*.asciidoc)
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.ja.html $(abs_top_srcdir)/doc/ja/weechat_user.ja.asciidoc
+weechat_user.ja.html: weechat_user.ja.asciidoc cmdline_options.ja.asciidoc $(wildcard autogen/user/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.ja.html $(abs_top_srcdir)/doc/ja/weechat_user.ja.asciidoc
# plugin API reference
-weechat_plugin_api.ja.html: weechat_plugin_api.ja.asciidoc $(wildcard autogen/plugin_api/*.asciidoc)
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_plugin_api.ja.html $(abs_top_srcdir)/doc/ja/weechat_plugin_api.ja.asciidoc
+weechat_plugin_api.ja.html: weechat_plugin_api.ja.asciidoc $(wildcard autogen/plugin_api/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_plugin_api.ja.html $(abs_top_srcdir)/doc/ja/weechat_plugin_api.ja.asciidoc
# scripting guide
-weechat_scripting.ja.html: weechat_scripting.ja.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.ja.html $(abs_top_srcdir)/doc/ja/weechat_scripting.ja.asciidoc
+weechat_scripting.ja.html: weechat_scripting.ja.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.ja.html $(abs_top_srcdir)/doc/ja/weechat_scripting.ja.asciidoc
# FAQ
-weechat_faq.ja.html: weechat_faq.ja.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.ja.html $(abs_top_srcdir)/doc/ja/weechat_faq.ja.asciidoc
+weechat_faq.ja.html: weechat_faq.ja.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.ja.html $(abs_top_srcdir)/doc/ja/weechat_faq.ja.asciidoc
# quickstart
-weechat_quickstart.ja.html: weechat_quickstart.ja.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.ja.html $(abs_top_srcdir)/doc/ja/weechat_quickstart.ja.asciidoc
+weechat_quickstart.ja.html: weechat_quickstart.ja.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.ja.html $(abs_top_srcdir)/doc/ja/weechat_quickstart.ja.asciidoc
# tester's guide
-weechat_tester.ja.html: weechat_tester.ja.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.ja.html $(abs_top_srcdir)/doc/ja/weechat_tester.ja.asciidoc
+weechat_tester.ja.html: weechat_tester.ja.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.ja.html $(abs_top_srcdir)/doc/ja/weechat_tester.ja.asciidoc
# relay protocol
-weechat_relay_protocol.ja.html: weechat_relay_protocol.ja.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_relay_protocol.ja.html $(abs_top_srcdir)/doc/ja/weechat_relay_protocol.ja.asciidoc
+weechat_relay_protocol.ja.html: weechat_relay_protocol.ja.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_relay_protocol.ja.html $(abs_top_srcdir)/doc/ja/weechat_relay_protocol.ja.asciidoc
# developer's guide
-weechat_dev.ja.html: weechat_dev.ja.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_dev.ja.html $(abs_top_srcdir)/doc/ja/weechat_dev.ja.asciidoc
+weechat_dev.ja.html: weechat_dev.ja.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_dev.ja.html $(abs_top_srcdir)/doc/ja/weechat_dev.ja.asciidoc
# install man/docs
diff --git a/doc/pl/CMakeLists.txt b/doc/pl/CMakeLists.txt
index 722262073..664db01d2 100644
--- a/doc/pl/CMakeLists.txt
+++ b/doc/pl/CMakeLists.txt
@@ -41,7 +41,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.pl.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_USER} -o weechat_user.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.pl.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.pl.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc
@@ -56,7 +56,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.pl.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_SCRIPTING} -o weechat_scripting.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.pl.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.pl.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_scripting.pl.html"
@@ -69,7 +69,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.pl.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_FAQ} -o weechat_faq.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.pl.asciidoc
DEPENDS
- asciidoc-toc-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.pl.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_faq.pl.html"
@@ -82,7 +82,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.pl.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.pl.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.pl.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_quickstart.pl.html"
@@ -95,7 +95,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.pl.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_TESTER} -o weechat_tester.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.pl.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.pl.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_tester.pl.html"
diff --git a/doc/pl/Makefile.am b/doc/pl/Makefile.am
index 746e391c7..b739ab1dd 100644
--- a/doc/pl/Makefile.am
+++ b/doc/pl/Makefile.am
@@ -56,24 +56,24 @@ weechat.1: weechat.1.pl.asciidoc cmdline_options.pl.asciidoc
rm -rf tmp_man
# user's guide
-weechat_user.pl.html: weechat_user.pl.asciidoc cmdline_options.pl.asciidoc $(wildcard autogen/user/*.asciidoc)
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.pl.html $(abs_top_srcdir)/doc/pl/weechat_user.pl.asciidoc
+weechat_user.pl.html: weechat_user.pl.asciidoc cmdline_options.pl.asciidoc $(wildcard autogen/user/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.pl.html $(abs_top_srcdir)/doc/pl/weechat_user.pl.asciidoc
# scripting guide
-weechat_scripting.pl.html: weechat_scripting.pl.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.pl.html $(abs_top_srcdir)/doc/pl/weechat_scripting.pl.asciidoc
+weechat_scripting.pl.html: weechat_scripting.pl.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.pl.html $(abs_top_srcdir)/doc/pl/weechat_scripting.pl.asciidoc
# FAQ
-weechat_faq.pl.html: weechat_faq.pl.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.pl.html $(abs_top_srcdir)/doc/pl/weechat_faq.pl.asciidoc
+weechat_faq.pl.html: weechat_faq.pl.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.pl.html $(abs_top_srcdir)/doc/pl/weechat_faq.pl.asciidoc
# quickstart
-weechat_quickstart.pl.html: weechat_quickstart.pl.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.pl.html $(abs_top_srcdir)/doc/pl/weechat_quickstart.pl.asciidoc
+weechat_quickstart.pl.html: weechat_quickstart.pl.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.pl.html $(abs_top_srcdir)/doc/pl/weechat_quickstart.pl.asciidoc
# tester's guide
-weechat_tester.pl.html: weechat_tester.pl.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.pl.html $(abs_top_srcdir)/doc/pl/weechat_tester.pl.asciidoc
+weechat_tester.pl.html: weechat_tester.pl.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.pl.html $(abs_top_srcdir)/doc/pl/weechat_tester.pl.asciidoc
# install man/docs
diff --git a/doc/ru/CMakeLists.txt b/doc/ru/CMakeLists.txt
index 057355a38..61290b18b 100644
--- a/doc/ru/CMakeLists.txt
+++ b/doc/ru/CMakeLists.txt
@@ -24,7 +24,7 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.ru.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.ru.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ru.asciidoc
DEPENDS
- asciidoc-toc2-css
+ ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.ru.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_quickstart.ru.html"
diff --git a/doc/ru/Makefile.am b/doc/ru/Makefile.am
index 79911953a..737730a5f 100644
--- a/doc/ru/Makefile.am
+++ b/doc/ru/Makefile.am
@@ -35,8 +35,8 @@ endif
all-local: $(man_targets) $(doc_targets)
# quickstart
-weechat_quickstart.ru.html: weechat_quickstart.ru.asciidoc
- $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_builddir)/../asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.ru.html $(abs_top_srcdir)/doc/ru/weechat_quickstart.ru.asciidoc
+weechat_quickstart.ru.html: weechat_quickstart.ru.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
+ $(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.ru.html $(abs_top_srcdir)/doc/ru/weechat_quickstart.ru.asciidoc
# install man/docs
diff --git a/doc/toc2.css b/doc/toc2.css
deleted file mode 100644
index 7376480ce..000000000
--- a/doc/toc2.css
+++ /dev/null
@@ -1,21 +0,0 @@
-/* asciidoc styles with table of contents on the left (toc2) */
-
-body {
- margin-left: 26em;
- margin-right: 2em;
-}
-#toc {
- width: 23em;
-}
-#toc .toclevel2 {
- margin-left: 1.5em;
- font-size: .9em;
-}
-#toc .toclevel3 {
- margin-left: 3em;
- font-size: .9em;
-}
-#toc .toclevel4 {
- margin-left: 4.5em;
- font-size: .9em;
-}