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