Remove hardcoded paths from systemd unit files.
[tinc] / 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.8 tinc.conf.5 tinc-gui.8
6
7 EXTRA_DIST = tincinclude.texi.in tincd.8.in tinc.8.in tinc.conf.5.in tinc-gui.8.in sample-config
8
9 CLEANFILES = *.html tincd.8 tinc.8 tinc.conf.5 tinc-gui.8 tincinclude.texi tinc.info
10
11 tincd.8.html: tincd.8
12         $(AM_V_GEN)w3mman2html $? > $@
13
14 tinc.8.html: tinc.8
15         $(AM_V_GEN)w3mman2html $? > $@
16
17 tinc-gui.8.html: tinc-gui.8
18         $(AM_V_GEN)w3mman2html $? > $@
19
20 tinc.conf.5.html: tinc.conf.5
21         $(AM_V_GEN)w3mman2html $? > $@
22
23 substitute = sed \
24         -e s,'@PACKAGE\@',"$(PACKAGE)",g \
25         -e s,'@VERSION\@',"$(VERSION)",g \
26         -e s,'@sysconfdir\@',"$(sysconfdir)",g \
27         -e s,'@runstatedir\@',"$(runstatedir)",g \
28         -e s,'@localstatedir\@',"$(localstatedir)",g
29
30 tincd.8: $(srcdir)/tincd.8.in
31         $(AM_V_GEN)$(substitute) $(srcdir)/tincd.8.in > $@
32
33 tinc.8: $(srcdir)/tinc.8.in
34         $(AM_V_GEN)$(substitute) $(srcdir)/tinc.8.in > $@
35
36 tinc-gui.8: $(srcdir)/tinc-gui.8.in
37         $(AM_V_GEN)$(substitute) $(srcdir)/tinc-gui.8.in > $@
38
39 tinc.conf.5: $(srcdir)/tinc.conf.5.in
40         $(AM_V_GEN)$(substitute) $(srcdir)/tinc.conf.5.in > $@
41
42 tincinclude.texi: $(srcdir)/tincinclude.texi.in
43         $(AM_V_GEN)$(substitute) $(srcdir)/tincinclude.texi.in > $@
44         
45 tinc.texi: tincinclude.texi