* tests/Makefile.am (TESTS): Added yacc5.test.
[automake.git] / tests / nodist.test
blob08b8088278f6e83a534d9aac1b9e7c877a93aa41
1 #! /bin/sh
3 # Test to make sure dist_*_SOURCES and nodist_*_SOURCES work.
5 . $srcdir/defs || exit 1
7 echo AC_PROG_CC >> configure.in
9 cat > Makefile.am << 'END'
10 bin_PROGRAMS = eyeball
12 eyeball_SOURCES = a.c
13 nodist_eyeball_SOURCES = b.c
14 dist_eyeball_SOURCES = c.c
15 END
17 : > a.c
18 : > b.c
19 : > c.c
21 $ACLOCAL || exit 1
22 $AUTOMAKE || exit 1
24 grep '^am_eyeball_OBJECTS' Makefile.in || exit 1
25 grep '^DIST_SOURCES =' Makefile.in || exit 1
26 grep '^DIST_SOURCES =.*nodist' Makefile.in && exit 1
28 exit 0