summaryrefslogtreecommitdiff
path: root/tests/mclean.test
blob: 2c59ca258f809bcf8d42a20a786b8a44672a5b5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

# Make sure MAINTAINERCLEANFILES works.
# Report from Paul D. Smith.

. $srcdir/defs || exit 1

cat > Makefile.am << 'END'
MAINTAINERCLEANFILES = foo
END

: > FOO

$ACLOCAL || exit 1
$AUTOMAKE || exit 1

grep 'rm -f .*MAINTAINERCLEANFILES' Makefile.in