From cf0502bcf70e6ea318b7c1822ef147bf5e924f96 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 21 Dec 2000 06:07:14 +0000 Subject: [PATCH] 2000-12-20 Marc Espie * automake.in (handle_texinfo): Make path of $vtexi explicit in dependency. * texi-vers.am: Likewise. --- ChangeLog | 6 ++++++ automake.in | 4 +++- lib/am/texi-vers.am | 2 +- texi-vers.am | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 26017c37..cfcfa654 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-12-20 Marc Espie + + * automake.in (handle_texinfo): Make path of $vtexi explicit in + dependency. + * texi-vers.am: Likewise. + 2000-12-20 Tom Tromey From Kevin Ryde: diff --git a/automake.in b/automake.in index 8c3dbe53..5bc2efcf 100755 --- a/automake.in +++ b/automake.in @@ -2273,7 +2273,9 @@ sub handle_texinfo # dependency list. @texi_deps = (); push (@texi_deps, $info_cursor); - push (@texi_deps, $vtexi) if $vtexi; + # Prefix with $(srcdir) because some version of make won't + # work if the target has it and the dependency doesn't. + push (@texi_deps, '$(srcdir)/' . $vtexi) if $vtexi; # Canonicalize name first. ($canonical = $infobase) =~ tr/A-Za-z0-9_/_/c; diff --git a/lib/am/texi-vers.am b/lib/am/texi-vers.am index 3649221d..51901579 100644 --- a/lib/am/texi-vers.am +++ b/lib/am/texi-vers.am @@ -15,7 +15,7 @@ ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ## 02111-1307, USA. -$(srcdir)/@VTEXI@: @MAINTAINER_MODE_TRUE@stamp-@VTI@ +$(srcdir)/@VTEXI@: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-@VTI@ @: ## Depend on configure.in so that version number updates cause a diff --git a/texi-vers.am b/texi-vers.am index 3649221d..51901579 100644 --- a/texi-vers.am +++ b/texi-vers.am @@ -15,7 +15,7 @@ ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ## 02111-1307, USA. -$(srcdir)/@VTEXI@: @MAINTAINER_MODE_TRUE@stamp-@VTI@ +$(srcdir)/@VTEXI@: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-@VTI@ @: ## Depend on configure.in so that version number updates cause a -- 2.43.5