Properly implement tinc.texi's dependency on tincinclude.texi.
[oweals/tinc.git] / doc / Makefile.am
index 60afb12e170dea8c83f66b76a99ef4c6de799624..29d6ffdf93b3a3fdc69b0698384da48e37be4535 100644 (file)
@@ -1,12 +1,13 @@
 ## Process this file with automake to get Makefile.in
 
 info_TEXINFOS = tinc.texi
+tinc_TEXINFOS = tincinclude.texi
 
 man_MANS = tincd.8 tinc.conf.5
 
 EXTRA_DIST = tincinclude.texi.in tincd.8.in tinc.conf.5.in sample-config
 
-CLEANFILES = *.html tincd.8 tinc.conf.5 tincinclude.texi tinc.info
+CLEANFILES = *.html tincd.8 tinc.conf.5 tincinclude.texi
 
 texi2html: tinc.texi
        $(AM_V_GEN)texi2html -split=chapter $<
@@ -32,5 +33,3 @@ tinc.conf.5: $(srcdir)/tinc.conf.5.in
 
 tincinclude.texi: $(srcdir)/tincinclude.texi.in
        $(AM_V_GEN)$(substitute) $(srcdir)/tincinclude.texi.in > $@
-
-tinc.texi: tincinclude.texi