Fix some "make distcheck" errors.
[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,'@localstatedir\@',"$(localstatedir)",g
25
26 tincd.8: $(srcdir)/tincd.8.in
27         $(AM_V_GEN)$(substitute) $< > $@
28
29 tinc.conf.5: $(srcdir)/tinc.conf.5.in
30         $(AM_V_GEN)$(substitute) $< > $@
31
32 tincinclude.texi: $(srcdir)/tincinclude.texi.in
33         $(AM_V_GEN)$(substitute) $< > $@
34
35 tinc.texi: tincinclude.texi