2001-02-21 Tom Tromey <tromey@redhat.com>
+ * tests/distdir.test: Check to make sure directory isn't made in
+ build directory.
+
* automake.in (handle_dist): Do nothing in Cygnus mode.
2001-02-21 Pavel Roskin <proski@gnu.org>
$AUTOMAKE || exit 1
grep '\$(mkinstalldirs).*\.' Makefile.in && exit 1
-grep '\$(mkinstalldirs).*foo' Makefile.in
+grep '\$(mkinstalldirs).*foo' Makefile.in || exit 1
+
+# Check to make sure `foo' isn't made in build directory.
+grep 'mkinstalldirs.*foo.*foo' Makefile.in && exit 1
+exit 0