From 2241f47f0e824c2ef6bc26b1c62aa035164dff81 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 7 Feb 2001 20:55:07 +0000 Subject: [PATCH] * distcommon.test: New file. * Makefile.am (TESTS): Added new file. --- tests/Makefile.am | 1 + tests/Makefile.in | 1 + tests/remake3.test | 24 ++++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100755 tests/remake3.test diff --git a/tests/Makefile.am b/tests/Makefile.am index a5933509..dada30e3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -210,6 +210,7 @@ recurs.test \ recurs2.test \ remake.test \ remake2.test \ +remake3.test \ req.test \ rulepat.test \ scripts.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index 5050c73e..e6dce4f7 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -280,6 +280,7 @@ recurs.test \ recurs2.test \ remake.test \ remake2.test \ +remake3.test \ req.test \ rulepat.test \ scripts.test \ diff --git a/tests/remake3.test b/tests/remake3.test new file mode 100755 index 00000000..fe1ce803 --- /dev/null +++ b/tests/remake3.test @@ -0,0 +1,24 @@ +#! /bin/sh + +# Make sure remaking rules work when there is no subdir Makefile. + +. $srcdir/defs || exit 1 + +cat > configure.in << 'END' +AM_INIT_AUTOMAKE(nonesuch, nonesuch) +PACKAGE=nonesuch +VERSION=nonesuch +AC_ARG_PROGRAM +AC_PROG_MAKE_SET +AC_PROG_INSTALL +AC_OUTPUT(Makefile sub/foo) +END + +: > Makefile.am + +mkdir sub +: > sub/foo.in + +$AUTOMAKE || exit 1 + +grep '^sub/foo' Makefile.in -- 2.43.5