diff options
author | Tom Tromey <tromey@redhat.com> | 2001-05-16 04:09:50 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2001-05-16 04:09:50 +0000 |
commit | b459ff3b151a8fd0e92dc960065ed977bde9dea7 (patch) | |
tree | b46207caedfb7b5af7b28335b8347290522397a9 /tests/maintclean.test | |
parent | ba60cd8391c1db082e4452ed58bfe6d68a9be165 (diff) | |
download | automake-b459ff3b151a8fd0e92dc960065ed977bde9dea7.tar.gz |
* tests/Makefile.am (TESTS): Added maintclean.test.
(XFAIL_TESTS): Likewise.
* tests/maintclean.test: New file.
Diffstat (limited to 'tests/maintclean.test')
-rwxr-xr-x | tests/maintclean.test | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/maintclean.test b/tests/maintclean.test new file mode 100755 index 000000000..3327dc2ba --- /dev/null +++ b/tests/maintclean.test @@ -0,0 +1,37 @@ +#! /bin/sh + +# Make sure that `maintainer-clean' removes Makefile.in, configure, +# and aclocal.m4. + +. $srcdir/defs || exit 1 + +cat > configure.in << 'END' +AC_INIT(Makefile.am) +AM_INIT_AUTOMAKE(foo,0,no) +AM_MAKE_INCLUDE +AC_OUTPUT(Makefile) +END + +: > Makefile.am + +$needs_autoconf + +set -e + +$ACLOCAL +$AUTOCONF +$AUTOMAKE + +export ACLOCAL +export AUTOCONF +export AUTOMAKE + +./configure + +$MAKE maintainer-clean + +test -f Makefile.in && exit 1 +test -f configure && exit 1 +test -f aclocal.m4 && exit 1 + +exit 0 |