summaryrefslogtreecommitdiff
path: root/tests/noinst.test
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1996-04-26 04:43:26 +0000
committerTom Tromey <tromey@redhat.com>1996-04-26 04:43:26 +0000
commit76290aa7b217907d3ff796aae35f287a6f562d61 (patch)
tree3e82984d0c004268eab9af21f4acee53f3518c5c /tests/noinst.test
parente87494fd2d8fe16ba5c0040f2ab5844af612e124 (diff)
downloadautomake-76290aa7b217907d3ff796aae35f287a6f562d61.tar.gz
More bug fixes
Diffstat (limited to 'tests/noinst.test')
-rwxr-xr-xtests/noinst.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/noinst.test b/tests/noinst.test
new file mode 100755
index 000000000..342e88699
--- /dev/null
+++ b/tests/noinst.test
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+# Check to make sure "make install" will build all in directory with
+# nothing to install.
+
+. $srcdir/defs || exit 1
+
+cat > Makefile.am << 'END'
+all-local:
+ exit 1
+END
+
+$AUTOMAKE || exit 1
+
+# "make install" should fail here if there is a bug.
+make -f Makefile.in install && exit 1
+
+exit 0