Describe subnet-up/down scripts in documentation.
[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 tinc.info 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 %.html: $(man_MANS)
26         w3mman2html $< > $@
27
28 substitute = sed \
29         -e s,'@PACKAGE\@',"$(PACKAGE)",g \
30         -e s,'@VERSION\@',"$(VERSION)",g \
31         -e s,'@sysconfdir\@',"$(sysconfdir)",g \
32         -e s,'@localstatedir\@',"$(localstatedir)",g
33
34 tincd.8: tincd.8.in
35         $(substitute) tincd.8.in > tincd.8
36
37 tinc.conf.5: tinc.conf.5.in
38         $(substitute) tinc.conf.5.in > tinc.conf.5
39
40 tincinclude.texi: tincinclude.texi.in
41         $(substitute) tincinclude.texi.in > tincinclude.texi
42         
43 tinc.texi: tincinclude.texi