~ubuntu-branches/ubuntu/wily/weechat/wily

« back to all changes in this revision

Viewing changes to doc/en/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bouthenot
  • Date: 2014-09-28 17:41:10 UTC
  • mfrom: (29.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20140928174110-bwlsn7gqmqfftnmb
Tags: 1.0.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
docdir = $(datadir)/doc/$(PACKAGE)
22
22
 
23
23
EXTRA_DIST = CMakeLists.txt \
24
 
             weechat.1.en.txt \
25
 
             cmdline_options.en.txt \
26
 
             weechat_user.en.txt \
27
 
             weechat_plugin_api.en.txt \
28
 
             weechat_scripting.en.txt \
29
 
             weechat_faq.en.txt \
30
 
             weechat_quickstart.en.txt \
31
 
             weechat_tester.en.txt \
32
 
             weechat_relay_protocol.en.txt \
33
 
             weechat_dev.en.txt \
34
 
             $(wildcard autogen/user/*.txt) \
35
 
             $(wildcard autogen/plugin_api/*.txt)
 
24
             weechat.1.en.asciidoc \
 
25
             cmdline_options.en.asciidoc \
 
26
             weechat_user.en.asciidoc \
 
27
             weechat_plugin_api.en.asciidoc \
 
28
             weechat_scripting.en.asciidoc \
 
29
             weechat_faq.en.asciidoc \
 
30
             weechat_quickstart.en.asciidoc \
 
31
             weechat_tester.en.asciidoc \
 
32
             weechat_relay_protocol.en.asciidoc \
 
33
             weechat_dev.en.asciidoc \
 
34
             $(wildcard autogen/user/*.asciidoc) \
 
35
             $(wildcard autogen/plugin_api/*.asciidoc)
36
36
 
37
37
if MAN
38
38
  man_targets = weechat.1
54
54
all-local: $(man_targets) $(doc_targets)
55
55
 
56
56
# man page
57
 
weechat.1: weechat.1.en.txt cmdline_options.en.txt
58
 
        cp -f $(abs_top_srcdir)/doc/en/weechat.1.en.txt .
59
 
        cp -f $(abs_top_srcdir)/doc/en/cmdline_options.en.txt .
60
 
        $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.en.txt
 
57
weechat.1: weechat.1.en.asciidoc cmdline_options.en.asciidoc
 
58
        cp -f $(abs_top_srcdir)/doc/en/weechat.1.en.asciidoc .
 
59
        cp -f $(abs_top_srcdir)/doc/en/cmdline_options.en.asciidoc .
 
60
        $(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.en.asciidoc
61
61
 
62
62
# user's guide
63
 
weechat_user.en.html: weechat_user.en.txt cmdline_options.en.txt $(wildcard autogen/user/*.txt)
64
 
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.txt
 
63
weechat_user.en.html: weechat_user.en.asciidoc cmdline_options.en.asciidoc $(wildcard autogen/user/*.asciidoc)
 
64
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.asciidoc
65
65
 
66
66
# plugin API reference
67
 
weechat_plugin_api.en.html: weechat_plugin_api.en.txt $(wildcard autogen/plugin_api/*.txt)
68
 
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_plugin_api.en.html $(abs_top_srcdir)/doc/en/weechat_plugin_api.en.txt
 
67
weechat_plugin_api.en.html: weechat_plugin_api.en.asciidoc $(wildcard autogen/plugin_api/*.asciidoc)
 
68
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_plugin_api.en.html $(abs_top_srcdir)/doc/en/weechat_plugin_api.en.asciidoc
69
69
 
70
70
# scripting guide
71
 
weechat_scripting.en.html: weechat_scripting.en.txt
72
 
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.en.html $(abs_top_srcdir)/doc/en/weechat_scripting.en.txt
 
71
weechat_scripting.en.html: weechat_scripting.en.asciidoc
 
72
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.en.html $(abs_top_srcdir)/doc/en/weechat_scripting.en.asciidoc
73
73
 
74
74
# FAQ
75
 
weechat_faq.en.html: weechat_faq.en.txt
76
 
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html $(abs_top_srcdir)/doc/en/weechat_faq.en.txt
 
75
weechat_faq.en.html: weechat_faq.en.asciidoc
 
76
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html $(abs_top_srcdir)/doc/en/weechat_faq.en.asciidoc
77
77
 
78
78
# quickstart
79
 
weechat_quickstart.en.html: weechat_quickstart.en.txt
80
 
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.txt
 
79
weechat_quickstart.en.html: weechat_quickstart.en.asciidoc
 
80
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.asciidoc
81
81
 
82
82
# tester's guide
83
 
weechat_tester.en.html: weechat_tester.en.txt
84
 
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.txt
 
83
weechat_tester.en.html: weechat_tester.en.asciidoc
 
84
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.asciidoc
 
85
 
 
86
# relay protocol
 
87
weechat_relay_protocol.en.html: weechat_relay_protocol.en.asciidoc
 
88
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.asciidoc
85
89
 
86
90
# developer's guide
87
 
weechat_dev.en.html: weechat_dev.en.txt
88
 
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_dev.en.html $(abs_top_srcdir)/doc/en/weechat_dev.en.txt
89
 
 
90
 
# relay protocol
91
 
weechat_relay_protocol.en.html: weechat_relay_protocol.en.txt
92
 
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.txt
 
91
weechat_dev.en.html: weechat_dev.en.asciidoc
 
92
        $(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_dev.en.html $(abs_top_srcdir)/doc/en/weechat_dev.en.asciidoc
93
93
 
94
94
# install man/docs
95
95
 
118
118
# clean
119
119
 
120
120
clean-local:
121
 
        -rm -f weechat.1 weechat.1.en.txt cmdline_options.en.txt
 
121
        -rm -f weechat.1 weechat.1.en.asciidoc cmdline_options.en.asciidoc
122
122
        -rm -f *.html