fed46b75215fcb645f569f637c323303ac4dc77a
[oweals/tinc.git] / doc / Makefile.am
1 ## Process this file with automake to get Makefile.in
2
3 info_TEXINFOS = tinc.texi
4
5 man_MANS = tincd.8 tinc.conf.5
6
7 EXTRA_DIST = tincinclude.texi.in tincd.8.in tinc.conf.5.in sample-config
8
9 CLEANFILES = *.html tincd.8 tinc.conf.5 tincinclude.texi
10
11 texi2html: tinc.texi
12         $(AM_V_GEN)texi2html -split=chapter $<
13
14 tincd.8.html: tincd.8
15         $(AM_V_GEN)w3mman2html $< > $@
16
17 tinc.conf.5.html: tinc.conf.5
18         $(AM_V_GEN)w3mman2html $< > $@
19
20 substitute = sed \
21         -e s,'@PACKAGE\@',"$(PACKAGE)",g \
22         -e s,'@VERSION\@',"$(VERSION)",g \
23         -e s,'@sysconfdir\@',"$(sysconfdir)",g \
24         -e s,'@runstatedir\@',"$(runstatedir)",g \
25         -e s,'@localstatedir\@',"$(localstatedir)",g
26
27 tincd.8: $(srcdir)/tincd.8.in
28         $(AM_V_GEN)$(substitute) $< > $@
29
30 tinc.conf.5: $(srcdir)/tinc.conf.5.in
31         $(AM_V_GEN)$(substitute) $< > $@
32
33 tincinclude.texi: $(srcdir)/tincinclude.texi.in
34         $(AM_V_GEN)$(substitute) $< > $@
35
36 tinc.texi: tincinclude.texi