1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 00:33:13 +02:00

doc: compile japanese user's guide with autotools

This commit is contained in:
Sebastien Helleu
2012-08-11 17:53:57 +02:00
parent 3c615a956b
commit d74ee61699
+10 -2
View File
@@ -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