* lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
[platform/upstream/automake.git] / tests / spell2.test
1 #! /bin/sh
2
3 # Test to make sure misspellings in _SOURCES variables cause failure.
4
5 . $srcdir/defs || exit 1
6
7 echo AC_PROG_CC >> configure.in
8
9 cat > Makefile.am << 'END'
10 bin_PROGRAMS = zardoz
11 zardoz_SOURCES = x.c
12 qardoz_LDADD = -ljoe
13 END
14
15 $ACLOCAL || exit 1
16 $AUTOMAKE && exit 1
17 exit 0