2 # Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003
3 # Free Software Foundation, Inc.
5 # This file is part of GNU Automake.
7 # GNU Automake is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
12 # GNU Automake is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with autoconf; see the file COPYING. If not, write to
19 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 # Boston, MA 02111-1307, USA.
24 cat > Makefile.am
<< 'END'
25 info_TEXINFOS
= textutils.texi
28 cat > textutils.texi
<< 'END'
30 @setfilename textutils.info
33 # Required when using Texinfo.
42 # Test for bug reported by Jim Meyering:
43 # When I ran automake-0.29 on textutils,
44 # I noticed that doc/Makefile.in had
45 # textutils.info: textutils.texi
47 # textutils.info: textutils.texi version.texi
48 # (Today this should be `textutils.info: version.texi')
50 grep 'textutils\.info:.*version\.texi$' Makefile.
in
53 # Test for bug reported by Lars Hecking:
54 # When running the first version of configure.ac aware automake,
55 # @CONFIGURE_AC@ was not properly substituted.
57 $EGREP 'stamp-vti:.*textutils\.texi( .*)?$' Makefile.
in
58 $EGREP 'stamp-vti:.*\$\(top_srcdir\)/configure( .*)?$' Makefile.
in
61 # Check that the path to mdate-sh is correct. Over escaping of `$'
62 # etc. once led to `\$\(srcdir\)/mdate-sh'.
64 # Filter out '$(srcdir)/mdate-sh'; output occurrences of `SOMETHING/mdate-sh'
65 sed -n 's,\$(srcdir)/mdate-sh,,g;s,.* \([^ ]*/mdate-sh\) .*,\1,gp' Makefile.
in|
66 # There must remain nothing.