typo + new comment
[automake.git] / tests / tagsub.test
blob987165d0ed93885a4b99686a79777a0737698349
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 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
22 PACKAGE=nonesuch
23 VERSION=nonesuch
24 AC_ARG_PROGRAM
25 AC_PROG_MAKE_SET
26 AC_PROG_INSTALL
27 AC_OUTPUT(Makefile sub/Makefile)
28 END
30 $AUTOMAKE || exit 1
32 grep '^TAGS:.*tags-recursive' Makefile.in