From: Guus Sliepen Date: Mon, 6 Nov 2017 21:52:17 +0000 (+0100) Subject: Fix building documentation when using OpenBSD's make. X-Git-Tag: release-1.1pre16~50 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b8acb89add4e553d141a45392bc0126c331deee6;p=oweals%2Ftinc.git Fix building documentation when using OpenBSD's make. --- diff --git a/doc/Makefile.am b/doc/Makefile.am index c0187f5..b2bcb4e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -6,7 +6,7 @@ man_MANS = tincd.8 tinc.8 tinc.conf.5 tinc-gui.8 EXTRA_DIST = tincinclude.texi.in tincd.8.in tinc.8.in tinc.conf.5.in tinc-gui.8.in sample-config -CLEANFILES = *.html tincd.8 tinc.8 tinc.conf.5 tinc-gui.8 tincinclude.texi +CLEANFILES = *.html tincd.8 tinc.8 tinc.conf.5 tinc-gui.8 tincinclude.texi tinc.info tincd.8.html: tincd.8 $(AM_V_GEN)w3mman2html $? > $@ @@ -27,19 +27,19 @@ substitute = sed \ -e s,'@runstatedir\@',"$(runstatedir)",g \ -e s,'@localstatedir\@',"$(localstatedir)",g -tincd.8: tincd.8.in - $(AM_V_GEN)$(substitute) $? > $@ +tincd.8: $(srcdir)/tincd.8.in + $(AM_V_GEN)$(substitute) $(srcdir)/tincd.8.in > $@ -tinc.8: tinc.8.in - $(AM_V_GEN)$(substitute) $? > $@ +tinc.8: $(srcdir)/tinc.8.in + $(AM_V_GEN)$(substitute) $(srcdir)/tinc.8.in > $@ -tinc-gui.8: tinc-gui.8.in - $(AM_V_GEN)$(substitute) $? > $@ +tinc-gui.8: $(srcdir)/tinc-gui.8.in + $(AM_V_GEN)$(substitute) $(srcdir)/tinc-gui.8.in > $@ -tinc.conf.5: tinc.conf.5.in - $(AM_V_GEN)$(substitute) $? > $@ +tinc.conf.5: $(srcdir)/tinc.conf.5.in + $(AM_V_GEN)$(substitute) $(srcdir)/tinc.conf.5.in > $@ -tincinclude.texi: tincinclude.texi.in - $(AM_V_GEN)$(substitute) $? > $@ +tincinclude.texi: $(srcdir)/tincinclude.texi.in + $(AM_V_GEN)$(substitute) $(srcdir)/tincinclude.texi.in > $@ tinc.texi: tincinclude.texi