summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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