When they encounter a set of rules such as:
a: b
$(srcdir)/b:
most makes don't identify $(srcdir)/b as fitting for `b'.
Specifically, if $(srcdir)/b already exists, it will fullfill
the dependency as it is the right file, but target lookup won't
ever find it as a dependency.
As far as I could tell @VTEXI@ is always intended to be built in
the source directory, so the following patch allows it to be
correctly built with any make:
2000-12-15 Marc Espie <[EMAIL PROTECTED]>
* automake.in (handle_texinfo): Make path of $vtexi explicit in
dependency.
* texi-vers.am: Likewise.
--- automake.in.orig Fri Dec 15 04:18:32 2000
+++ automake.in Fri Dec 15 04:18:54 2000
@@ -2287,7 +2287,7 @@ sub handle_texinfo
# dependency list.
@texi_deps = ();
push (@texi_deps, $info_cursor);
- push (@texi_deps, $vtexi) if $vtexi;
+ push (@texi_deps, '$(srcdir)/'.$vtexi) if $vtexi;
# Canonicalize name first.
($canonical = $infobase) =~ tr/A-Za-z0-9_/_/c;
--- texi-vers.am.orig Fri Dec 15 04:18:12 2000
+++ texi-vers.am Fri Dec 15 04:18:22 2000
@@ -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