Every BSD flavor has a tap device nowadays.
[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.conf.5
6
7 EXTRA_DIST = tincinclude.texi.in tincd.8.in tinc.conf.5.in sample-config.tar.gz
8
9 CLEANFILES = *.html tincd.8 tinc.conf.5 tincinclude.texi
10
11 # Use `ginstall' in the definition of man_MANS to avoid
12 # confusion with the `install' target.  The install rule transforms `ginstall'
13 # to install before applying any user-specified name transformations.
14 transform = s/ginstall/install/; @program_transform_name@
15
16 # For additional rules usually of interest only to the maintainer,
17 # see GNUmakefile and Makefile.maint.
18
19 sample-config.tar.gz: sample-config
20         GZIP=$(GZIP_ENV) $(AMTAR) chozf sample-config.tar.gz --exclude .svn sample-config
21
22 texi2html: tinc.texi
23         texi2html -split=chapter tinc.texi
24
25 tincd.8.html: tincd.8
26         w3mman2html $< > $@
27
28 tinc.conf.5.html: tinc.conf.5
29         w3mman2html $< > $@
30
31 substitute = sed \
32         -e s,'@PACKAGE\@',"$(PACKAGE)",g \
33         -e s,'@VERSION\@',"$(VERSION)",g \
34         -e s,'@sysconfdir\@',"$(sysconfdir)",g \
35         -e s,'@localstatedir\@',"$(localstatedir)",g
36
37 tincd.8: tincd.8.in
38         $(substitute) tincd.8.in > tincd.8
39
40 tinc.conf.5: tinc.conf.5.in
41         $(substitute) tinc.conf.5.in > tinc.conf.5
42
43 tincinclude.texi: tincinclude.texi.in
44         $(substitute) tincinclude.texi.in > tincinclude.texi
45         
46 tinc.texi: tincinclude.texi