Code

documentation: Unified author information.
[sysdb.git] / doc / Makefile.am
1 SUFFIXES = .1 .5 .1.html .5.html .1.txt .5.txt
3 EXTRA_DIST = \
4                 sysdb.1.txt \
5                 sysdbd.1.txt \
6                 sysdbd.conf.5.txt \
7                 sysdbd-cname-dns.5.txt \
8                 sysdbd-collectd-unixsock.5.txt \
9                 sysdbd-mk-livestatus.5.txt \
10                 sysdbd-puppet-store-configs.5.txt \
11                 sysdbd-syslog.5.txt
12 CLEANFILES = \
13                 sysdb.1 \
14                 sysdbd.1 \
15                 sysdbd.conf.5 \
16                 sysdbd-cname-dns.5 \
17                 sysdbd-collectd-unixsock.5 \
18                 sysdbd-mk-livestatus.5 \
19                 sysdbd-puppet-store-configs.5 \
20                 sysdbd-syslog.5 \
21                 docbook-xsl.css \
22                 sysdb.1.html \
23                 sysdbd.1.html \
24                 sysdbd.conf.5.html \
25                 sysdbd-cname-dns.5.html \
26                 sysdbd-collectd-unixsock.5.html \
27                 sysdbd-mk-livestatus.5.html \
28                 sysdbd-puppet-store-configs.5.html \
29                 sysdbd-syslog.5.html
31 man_MANS = \
32                 sysdb.1 \
33                 sysdbd.1 \
34                 sysdbd.conf.5 \
35                 sysdbd-cname-dns.5 \
36                 sysdbd-collectd-unixsock.5 \
37                 sysdbd-mk-livestatus.5 \
38                 sysdbd-puppet-store-configs.5 \
39                 sysdbd-syslog.5
41 html_DATA = \
42                 docbook-xsl.css \
43                 sysdb.1.html \
44                 sysdbd.1.html \
45                 sysdbd.conf.5.html \
46                 sysdbd-cname-dns.5.html \
47                 sysdbd-collectd-unixsock.5.html \
48                 sysdbd-mk-livestatus.5.html \
49                 sysdbd-puppet-store-configs.5.html \
50                 sysdbd-syslog.5.html
52 ADOC_ATTRS = -apackage_version=$(PACKAGE_VERSION) \
53                 -abuild_date="$$( date --utc '+%F' )" \
54                 -alocalstatedir=$(localstatedir)
56 sysdb.1: sysdb.1.txt ../version
57 sysdbd.1: sysdbd.1.txt ../version
58 sysdbd.conf.5: sysdbd.conf.5.txt ../version
59 sysdbd-cname-dns.5: sysdbd-cname-dns.5.txt ../version
60 sysdbd-collectd-unixsock.5: sysdbd-collectd-unixsock.5.txt ../version
61 sysdbd-mk-livestatus.5: sysdbd-mk-livestatus.5.txt ../version
62 sysdbd-puppet-store-configs.5: sysdbd-puppet-store-configs.5.txt ../version
63 sysdbd-syslog.5: sysdbd-syslog.5.txt ../version
65 sysdb.1.html: sysdb.1.txt ../version
66 sysdbd.1.html: sysdbd.1.txt ../version
67 sysdbd.conf.5.html: sysdbd.conf.5.txt ../version
68 sysdbd-cname-dns.5.html: sysdbd-cname-dns.5.txt ../version
69 sysdbd-collectd-unixsock.5.html: sysdbd-collectd-unixsock.5.txt ../version
70 sysdbd-mk-livestatus.5.html: sysdbd-mk-livestatus.5.txt ../version
71 sysdbd-puppet-store-configs.5.html: sysdbd-puppet-store-configs.5.txt ../version
72 sysdbd-syslog.5.html: sysdbd-syslog.5.txt ../version
74 # This is an ugly hack but fine for now.
75 docbook-xsl.css:
76         test -e docbook-xsl.css || rm -f sysdb.1.html && make sysdb.1.html
78 .1.txt.1:
79         @A2X@ -d manpage -f manpage $(ADOC_ATTRS) $<
80 .1.txt.1.html:
81         @A2X@ -d manpage -f xhtml $(ADOC_ATTRS) $<
83 .5.txt.5:
84         @A2X@ -d manpage -f manpage $(ADOC_ATTRS) $<
85 .5.txt.5.html:
86         @A2X@ -d manpage -f xhtml $(ADOC_ATTRS) $<