* confh4.test: Corrected final test.
[automake.git] / tests / tagsub.test
blob54be5a80b8170e0180454b0e80c7f8aa78a1e11e
1 #! /bin/sh
3 # Test to make sure tags and subdirs work correctly. Bug report by
4 # François Pinard.
6 . $srcdir/defs || exit 1
8 cat > Makefile.am << 'END'
9 SUBDIRS = sub
10 END
12 mkdir sub
14 cat > sub/Makefile.am << 'END'
15 noinst_HEADERS = iguana.h
16 END
18 : > sub/iguana.h
20 cat > configure.in << 'END'
21 PACKAGE=nonesuch
22 VERSION=nonesuch
23 AC_ARG_PROGRAM
24 AC_PROG_MAKE_SET
25 AC_PROG_INSTALL
26 AC_OUTPUT(Makefile sub/Makefile)
27 END
29 $AUTOMAKE || exit 1
31 grep '^TAGS:.*tags-recursive' Makefile.in