tinc/doc/Makefile.am

36 lines
970 B
Makefile
Raw Permalink Normal View History

2019-08-26 11:44:36 +00:00
## Process this file with automake to get Makefile.in
info_TEXINFOS = tinc.texi
2019-08-26 11:44:53 +00:00
tinc_TEXINFOS = tincinclude.texi
2019-08-26 11:44:36 +00:00
2019-08-26 11:52:00 +00:00
man_MANS = tincd.8 tinc.conf.5
2019-08-26 11:44:36 +00:00
2019-08-26 11:52:00 +00:00
EXTRA_DIST = tincinclude.texi.in tincd.8.in tinc.conf.5.in sample-config
2019-08-26 11:44:36 +00:00
2019-08-26 11:52:00 +00:00
CLEANFILES = *.html tincd.8 tinc.conf.5 tincinclude.texi
2019-08-26 11:44:36 +00:00
2019-08-26 11:52:00 +00:00
texi2html: tinc.texi
$(AM_V_GEN)texi2html -split=chapter $<
2019-08-26 11:44:49 +00:00
2019-08-26 11:52:00 +00:00
tincd.8.html: tincd.8
$(AM_V_GEN)w3mman2html $< > $@
2019-08-26 11:44:37 +00:00
tinc.conf.5.html: tinc.conf.5
2019-08-26 11:52:00 +00:00
$(AM_V_GEN)w3mman2html $< > $@
2019-08-26 11:44:36 +00:00
substitute = sed \
-e s,'@PACKAGE\@',"$(PACKAGE)",g \
-e s,'@VERSION\@',"$(VERSION)",g \
-e s,'@sysconfdir\@',"$(sysconfdir)",g \
2019-08-26 11:44:53 +00:00
-e s,'@runstatedir\@',"$(runstatedir)",g \
2019-08-26 11:44:36 +00:00
-e s,'@localstatedir\@',"$(localstatedir)",g
2019-08-26 11:44:53 +00:00
tincd.8: $(srcdir)/tincd.8.in
$(AM_V_GEN)$(substitute) $(srcdir)/tincd.8.in > $@
2019-08-26 11:44:49 +00:00
2019-08-26 11:44:53 +00:00
tinc.conf.5: $(srcdir)/tinc.conf.5.in
$(AM_V_GEN)$(substitute) $(srcdir)/tinc.conf.5.in > $@
2019-08-26 11:44:36 +00:00
2019-08-26 11:44:53 +00:00
tincinclude.texi: $(srcdir)/tincinclude.texi.in
$(AM_V_GEN)$(substitute) $(srcdir)/tincinclude.texi.in > $@