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