]> sourceware.org Git - automake.git/commitdiff
* distcommon.test: New file.
authorTom Tromey <tromey@redhat.com>
Wed, 7 Feb 2001 20:55:07 +0000 (20:55 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 7 Feb 2001 20:55:07 +0000 (20:55 +0000)
* Makefile.am (TESTS): Added new file.

tests/Makefile.am
tests/Makefile.in
tests/remake3.test [new file with mode: 0755]

index a5933509f2270d928f735acdcd9432d68a1c3a47..dada30e358a6cf3883c4eb69b70ad9283610bf27 100644 (file)
@@ -210,6 +210,7 @@ recurs.test \
 recurs2.test \
 remake.test \
 remake2.test \
+remake3.test \
 req.test \
 rulepat.test \
 scripts.test \
index 5050c73e09ad4d4ef3703b48b26fc0c5bfe01e3d..e6dce4f733b0e72c206d42ebf1828280e512e7cb 100644 (file)
@@ -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 (executable)
index 0000000..fe1ce80
--- /dev/null
@@ -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
This page took 0.027955 seconds and 5 git commands to generate.