1 SUFFIXES = \
2 .1 .5 .7 \
3 .1.html .5.html .7.html \
4 .1.txt .5.txt .7.txt \
5 .1.xml .5.xml .7.xml
7 EXTRA_DIST = \
8 asciidoc.conf \
9 sysdb.1.txt \
10 sysdbd.1.txt \
11 sysdbd.conf.5.txt \
12 sysdb-description.txt \
13 sysdbd-cname-dns.5.txt \
14 sysdbd-collectd-unixsock.5.txt \
15 sysdbd-mk-livestatus.5.txt \
16 sysdbd-puppet-store-configs.5.txt \
17 sysdbd-syslog.5.txt \
18 sysdbd-timeseries-rrdtool.5.txt \
19 sysdb.7.txt \
20 sysdbql.7.txt
21 CLEANFILES = \
22 sysdb.1 \
23 sysdbd.1 \
24 sysdbd.conf.5 \
25 sysdbd-cname-dns.5 \
26 sysdbd-collectd-unixsock.5 \
27 sysdbd-mk-livestatus.5 \
28 sysdbd-puppet-store-configs.5 \
29 sysdbd-syslog.5 \
30 sysdbd-timeseries-rrdtool.5 \
31 sysdb.7 \
32 sysdbql.7 \
33 sysdb.1.html \
34 sysdbd.1.html \
35 sysdbd.conf.5.html \
36 sysdbd-cname-dns.5.html \
37 sysdbd-collectd-unixsock.5.html \
38 sysdbd-mk-livestatus.5.html \
39 sysdbd-puppet-store-configs.5.html \
40 sysdbd-syslog.5.html \
41 sysdbd-timeseries-rrdtool.5.html \
42 sysdb.7.html \
43 sysdbql.7.html \
44 sysdb.1.xml \
45 sysdbd.1.xml \
46 sysdbd.conf.5.xml \
47 sysdbd-cname-dns.5.xml \
48 sysdbd-collectd-unixsock.5.xml \
49 sysdbd-mk-livestatus.5.xml \
50 sysdbd-puppet-store-configs.5.xml \
51 sysdbd-syslog.5.xml \
52 sysdbd-timeseries-rrdtool.5.xml \
53 sysdb.7.xml \
54 sysdbql.7.xml
56 man_MANS = \
57 sysdb.1 \
58 sysdbd.1 \
59 sysdbd.conf.5 \
60 sysdbd-cname-dns.5 \
61 sysdbd-collectd-unixsock.5 \
62 sysdbd-mk-livestatus.5 \
63 sysdbd-puppet-store-configs.5 \
64 sysdbd-syslog.5 \
65 sysdbd-timeseries-rrdtool.5 \
66 sysdb.7 \
67 sysdbql.7
69 html_DATA = \
70 sysdb.1.html \
71 sysdbd.1.html \
72 sysdbd.conf.5.html \
73 sysdbd-cname-dns.5.html \
74 sysdbd-collectd-unixsock.5.html \
75 sysdbd-mk-livestatus.5.html \
76 sysdbd-puppet-store-configs.5.html \
77 sysdbd-syslog.5.html \
78 sysdbd-timeseries-rrdtool.5.html \
79 sysdb.7.html \
80 sysdbql.7.html
82 ADOC_FLAGS = \
83 -f$(srcdir)/asciidoc.conf \
84 -apackage_version=$(PACKAGE_VERSION) \
85 -alocalstatedir=$(localstatedir) \
86 $(ADOCFLAGS)
88 MAN_DEPS = asciidoc.conf ../version
90 sysdb.1.xml: sysdb.1.txt $(MAN_DEPS)
91 sysdbd.1.xml: sysdbd.1.txt $(MAN_DEPS)
92 sysdbd.conf.5.xml: sysdbd.conf.5.txt $(MAN_DEPS)
93 sysdbd-cname-dns.5.xml: sysdbd-cname-dns.5.txt $(MAN_DEPS)
94 sysdbd-collectd-unixsock.5.xml: sysdbd-collectd-unixsock.5.txt $(MAN_DEPS)
95 sysdbd-mk-livestatus.5.xml: sysdbd-mk-livestatus.5.txt $(MAN_DEPS)
96 sysdbd-puppet-store-configs.5.xml: sysdbd-puppet-store-configs.5.txt $(MAN_DEPS)
97 sysdbd-syslog.5.xml: sysdbd-syslog.5.txt $(MAN_DEPS)
98 sysdbd-timeseries-rrdtool.5.xml: sysdbd-timeseries-rrdtool.5.txt $(MAN_DEPS)
99 sysdb.7.xml: sysdb.7.txt sysdb-description.txt $(MAN_DEPS)
100 sysdbql.7.xml: sysdbql.7.txt sysdb-description.txt $(MAN_DEPS)
102 sysdb.1: sysdb.1.xml
103 sysdbd.1: sysdbd.1.xml
104 sysdbd.conf.5: sysdbd.conf.5.xml
105 sysdbd-cname-dns.5: sysdbd-cname-dns.5.xml
106 sysdbd-collectd-unixsock.5: sysdbd-collectd-unixsock.5.xml
107 sysdbd-mk-livestatus.5: sysdbd-mk-livestatus.5.xml
108 sysdbd-puppet-store-configs.5: sysdbd-puppet-store-configs.5.xml
109 sysdbd-syslog.5: sysdbd-syslog.5.xml
110 sysdbd-timeseries-rrdtool.5: sysdbd-timeseries-rrdtool.5.xml
111 sysdb.7: sysdb.7.xml
112 sysdbql.7: sysdbql.7.xml
114 sysdb.1.html: sysdb.1.txt $(MAN_DEPS)
115 sysdbd.1.html: sysdbd.1.txt $(MAN_DEPS)
116 sysdbd.conf.5.html: sysdbd.conf.5.txt $(MAN_DEPS)
117 sysdbd-cname-dns.5.html: sysdbd-cname-dns.5.txt $(MAN_DEPS)
118 sysdbd-collectd-unixsock.5.html: sysdbd-collectd-unixsock.5.txt $(MAN_DEPS)
119 sysdbd-mk-livestatus.5.html: sysdbd-mk-livestatus.5.txt $(MAN_DEPS)
120 sysdbd-puppet-store-configs.5.html: sysdbd-puppet-store-configs.5.txt $(MAN_DEPS)
121 sysdbd-syslog.5.html: sysdbd-syslog.5.txt $(MAN_DEPS)
122 sysdbd-timeseries-rrdtool.5.html: sysdbd-timeseries-rrdtool.5.txt $(MAN_DEPS)
123 sysdb.7.html: sysdb.7.txt sysdb-description.txt $(MAN_DEPS)
124 sysdbql.7.html: sysdbql.7.txt sysdb-description.txt $(MAN_DEPS)
126 html-local: $(html_DATA)
127 install-html-local: install-htmlDATA
129 .1.txt.1.xml:
130 @ASCIIDOC@ $(ADOC_FLAGS) -b docbook -d manpage $<
131 .5.txt.5.xml:
132 @ASCIIDOC@ $(ADOC_FLAGS) -b docbook -d manpage $<
133 .7.txt.7.xml:
134 @ASCIIDOC@ $(ADOC_FLAGS) -b docbook -d manpage $<
136 .1.xml.1:
137 @XMLTO@ man $<
138 .5.xml.5:
139 @XMLTO@ man $<
140 .7.xml.7:
141 @XMLTO@ man $<
143 .1.txt.1.html:
144 @ASCIIDOC@ $(ADOC_FLAGS) -b html5 -d manpage $<
145 .5.txt.5.html:
146 @ASCIIDOC@ $(ADOC_FLAGS) -b html5 -d manpage $<
147 .7.txt.7.html:
148 @ASCIIDOC@ $(ADOC_FLAGS) -b html5 -d manpage $<