Sat Dec 7 11:34:39 1996 Tom Tromey <tromey@cygnus.com>
+ * automake.in (handle_configure): Check dirname of $file, not of
+ $local. Test output2.test.
+
* automake.in (handle_dependencies): Added some missing ";"s in
transforms.
(get_object_extension): Ditto.
.SUFFIXES:
.SUFFIXES: .texi .texinfo .info .dvi
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
- cd $(top_srcdir) && automake --gnits Makefile
-
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
- cd $(top_builddir) \
- && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
$(srcdir)/aclocal.m4: configure.in
cd $(srcdir) && aclocal
$(srcdir)/Makefile.in: Makefile.am configure.in
- cd $(srcdir) && automake @ARGS@ Makefile
+ cd $(srcdir) && automake --gnits Makefile
# For an explanation of the following Makefile rules, see node
# `Automatic Remaking' in GNU Autoconf documentation.
}
# Skip files not in this directory.
- next unless &dirname ($local) eq $relative_dir;
+ next unless &dirname ($file) eq $relative_dir;
# Skip the config header.
next if $local eq $top_builddir . '/' . $config_name;
Sat Dec 7 12:52:45 1996 Tom Tromey <tromey@cygnus.com>
+ * remake2.test: New file.
* output2.test: New file.
Fri Dec 6 19:00:31 1996 Tom Tromey <tromey@cygnus.com>
comment2.test vpath.test symlink.test discover.test acinclude.test req.test \
acsilent.test distdir.test lex2.test libobj4.test libobj5.test version.test \
ranlib.test confvar.test confvar2.test stdlib.test cxxo.test colon2.test \
-colon3.test remake.test output.test output2.test
+colon3.test remake.test output.test output2.test remake2.test
EXTRA_DIST = defs $(TESTS)
--- /dev/null
+#! /bin/sh
+
+# Make sure remaking rules in subdir are correct.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+PACKAGE=nonesuch
+VERSION=nonesuch
+AC_ARG_PROGRAM
+AC_PROG_INSTALL
+AC_OUTPUT(sub/Makefile)
+END
+
+mkdir sub
+: > sub/Makefile.am
+
+$AUTOMAKE || exit 1
+
+grep 'automake.*sub/Makefile' Makefile.in