summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-08-11 17:53:57 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-08-11 17:53:57 +0200
commitd74ee61699e63c7b1b119e7c3a53c48580312714 (patch)
tree7257c8e37008156566115b6ced0b1b9120b6f554 /doc
parent3c615a956be6060448d5db1401feb17313995212 (diff)
downloadweechat-d74ee61699e63c7b1b119e7c3a53c48580312714.zip
doc: compile japanese user's guide with autotools
Diffstat (limited to 'doc')
-rw-r--r--doc/ja/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/ja/Makefile.am b/doc/ja/Makefile.am
index 8ec324dda..23bc40106 100644
--- a/doc/ja/Makefile.am
+++ b/doc/ja/Makefile.am
@@ -20,12 +20,20 @@
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
+ weechat_user.ja.txt \
weechat_faq.ja.txt \
- weechat_quickstart.ja.txt
+ weechat_quickstart.ja.txt \
+ $(wildcard autogen/user/*.txt) \
+ $(wildcard autogen/plugin_api/*.txt)
-all-local: weechat_faq.ja.html \
+all-local: weechat_user.ja.html \
+ weechat_faq.ja.html \
weechat_quickstart.ja.html
+# user's guide
+weechat_user.ja.html: weechat_user.ja.txt $(wildcard autogen/user/*.txt)
+ $(ASCIIDOC) -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.ja.html $(abs_top_srcdir)/doc/ja/weechat_user.ja.txt
+
# FAQ
weechat_faq.ja.html: weechat_faq.ja.txt
$(ASCIIDOC) -a toc -a toc-title='目次' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.ja.html $(abs_top_srcdir)/doc/ja/weechat_faq.ja.txt