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-facter.5.txt \
16 sysdbd-mk-livestatus.5.txt \
17 sysdbd-puppet-store-configs.5.txt \
18 sysdbd-syslog.5.txt \
19 sysdbd-timeseries-rrdtool.5.txt \
20 sysdb.7.txt \
21 sysdbql.7.txt
22 CLEANFILES = \
23 sysdb.1 \
24 sysdbd.1 \
25 sysdbd.conf.5 \
26 sysdbd-cname-dns.5 \
27 sysdbd-collectd-unixsock.5 \
28 sysdbd-facter.5 \
29 sysdbd-mk-livestatus.5 \
30 sysdbd-puppet-store-configs.5 \
31 sysdbd-syslog.5 \
32 sysdbd-timeseries-rrdtool.5 \
33 sysdb.7 \
34 sysdbql.7 \
35 sysdb.1.html \
36 sysdbd.1.html \
37 sysdbd.conf.5.html \
38 sysdbd-cname-dns.5.html \
39 sysdbd-collectd-unixsock.5.html \
40 sysdbd-facter.5.html \
41 sysdbd-mk-livestatus.5.html \
42 sysdbd-puppet-store-configs.5.html \
43 sysdbd-syslog.5.html \
44 sysdbd-timeseries-rrdtool.5.html \
45 sysdb.7.html \
46 sysdbql.7.html \
47 sysdb.1.xml \
48 sysdbd.1.xml \
49 sysdbd.conf.5.xml \
50 sysdbd-cname-dns.5.xml \
51 sysdbd-collectd-unixsock.5.xml \
52 sysdbd-facter.5.xml \
53 sysdbd-mk-livestatus.5.xml \
54 sysdbd-puppet-store-configs.5.xml \
55 sysdbd-syslog.5.xml \
56 sysdbd-timeseries-rrdtool.5.xml \
57 sysdb.7.xml \
58 sysdbql.7.xml
60 man_MANS = \
61 sysdb.1 \
62 sysdbd.1 \
63 sysdbd.conf.5 \
64 sysdbd-cname-dns.5 \
65 sysdbd-collectd-unixsock.5 \
66 sysdbd-facter.5 \
67 sysdbd-mk-livestatus.5 \
68 sysdbd-puppet-store-configs.5 \
69 sysdbd-syslog.5 \
70 sysdbd-timeseries-rrdtool.5 \
71 sysdb.7 \
72 sysdbql.7
74 html_DATA = \
75 sysdb.1.html \
76 sysdbd.1.html \
77 sysdbd.conf.5.html \
78 sysdbd-cname-dns.5.html \
79 sysdbd-collectd-unixsock.5.html \
80 sysdbd-facter.5.html \
81 sysdbd-mk-livestatus.5.html \
82 sysdbd-puppet-store-configs.5.html \
83 sysdbd-syslog.5.html \
84 sysdbd-timeseries-rrdtool.5.html \
85 sysdb.7.html \
86 sysdbql.7.html
88 ADOC_FLAGS = \
89 -f$(srcdir)/asciidoc.conf \
90 -apackage_version=$(PACKAGE_VERSION) \
91 -alocalstatedir=$(localstatedir) \
92 $(ADOCFLAGS)
94 MAN_DEPS = asciidoc.conf ../version
96 sysdb.1.xml: sysdb.1.txt $(MAN_DEPS)
97 sysdbd.1.xml: sysdbd.1.txt $(MAN_DEPS)
98 sysdbd.conf.5.xml: sysdbd.conf.5.txt $(MAN_DEPS)
99 sysdbd-cname-dns.5.xml: sysdbd-cname-dns.5.txt $(MAN_DEPS)
100 sysdbd-collectd-unixsock.5.xml: sysdbd-collectd-unixsock.5.txt $(MAN_DEPS)
101 sysdbd-facter.5.xml: sysdbd-facter.5.txt $(MAN_DEPS)
102 sysdbd-mk-livestatus.5.xml: sysdbd-mk-livestatus.5.txt $(MAN_DEPS)
103 sysdbd-puppet-store-configs.5.xml: sysdbd-puppet-store-configs.5.txt $(MAN_DEPS)
104 sysdbd-syslog.5.xml: sysdbd-syslog.5.txt $(MAN_DEPS)
105 sysdbd-timeseries-rrdtool.5.xml: sysdbd-timeseries-rrdtool.5.txt $(MAN_DEPS)
106 sysdb.7.xml: sysdb.7.txt sysdb-description.txt $(MAN_DEPS)
107 sysdbql.7.xml: sysdbql.7.txt sysdb-description.txt $(MAN_DEPS)
109 sysdb.1: sysdb.1.xml
110 sysdbd.1: sysdbd.1.xml
111 sysdbd.conf.5: sysdbd.conf.5.xml
112 sysdbd-cname-dns.5: sysdbd-cname-dns.5.xml
113 sysdbd-collectd-unixsock.5: sysdbd-collectd-unixsock.5.xml
114 sysdbd-facter.5: sysdbd-facter.5.xml
115 sysdbd-mk-livestatus.5: sysdbd-mk-livestatus.5.xml
116 sysdbd-puppet-store-configs.5: sysdbd-puppet-store-configs.5.xml
117 sysdbd-syslog.5: sysdbd-syslog.5.xml
118 sysdbd-timeseries-rrdtool.5: sysdbd-timeseries-rrdtool.5.xml
119 sysdb.7: sysdb.7.xml
120 sysdbql.7: sysdbql.7.xml
122 sysdb.1.html: sysdb.1.txt $(MAN_DEPS)
123 sysdbd.1.html: sysdbd.1.txt $(MAN_DEPS)
124 sysdbd.conf.5.html: sysdbd.conf.5.txt $(MAN_DEPS)
125 sysdbd-cname-dns.5.html: sysdbd-cname-dns.5.txt $(MAN_DEPS)
126 sysdbd-collectd-unixsock.5.html: sysdbd-collectd-unixsock.5.txt $(MAN_DEPS)
127 sysdbd-facter.5.html: sysdbd-facter.5.txt $(MAN_DEPS)
128 sysdbd-mk-livestatus.5.html: sysdbd-mk-livestatus.5.txt $(MAN_DEPS)
129 sysdbd-puppet-store-configs.5.html: sysdbd-puppet-store-configs.5.txt $(MAN_DEPS)
130 sysdbd-syslog.5.html: sysdbd-syslog.5.txt $(MAN_DEPS)
131 sysdbd-timeseries-rrdtool.5.html: sysdbd-timeseries-rrdtool.5.txt $(MAN_DEPS)
132 sysdb.7.html: sysdb.7.txt sysdb-description.txt $(MAN_DEPS)
133 sysdbql.7.html: sysdbql.7.txt sysdb-description.txt $(MAN_DEPS)
135 html-local: $(html_DATA)
136 install-html-local: install-htmlDATA
138 .1.txt.1.xml:
139 @ASCIIDOC@ $(ADOC_FLAGS) -b docbook -d manpage $<
140 .5.txt.5.xml:
141 @ASCIIDOC@ $(ADOC_FLAGS) -b docbook -d manpage $<
142 .7.txt.7.xml:
143 @ASCIIDOC@ $(ADOC_FLAGS) -b docbook -d manpage $<
145 .1.xml.1:
146 @XMLTO@ man $<
147 .5.xml.5:
148 @XMLTO@ man $<
149 .7.xml.7:
150 @XMLTO@ man $<
152 .1.txt.1.html:
153 @ASCIIDOC@ $(ADOC_FLAGS) -b html5 -d manpage $<
154 .5.txt.5.html:
155 @ASCIIDOC@ $(ADOC_FLAGS) -b html5 -d manpage $<
156 .7.txt.7.html:
157 @ASCIIDOC@ $(ADOC_FLAGS) -b html5 -d manpage $<