2 # Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003
3 # Free Software Foundation, Inc.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 cat > Makefile.am
<< 'END'
21 info_TEXINFOS
= textutils.texi
24 cat > textutils.texi
<< 'END'
26 @setfilename textutils.info
29 # Required when using Texinfo.
38 # Test for bug reported by Jim Meyering:
39 # When I ran automake-0.29 on textutils,
40 # I noticed that doc/Makefile.in had
41 # textutils.info: textutils.texi
43 # textutils.info: textutils.texi version.texi
44 # (Today this should be `textutils.info: version.texi')
46 grep 'textutils\.info:.*version\.texi$' Makefile.
in
49 # Test for bug reported by Lars Hecking:
50 # When running the first version of configure.ac aware automake,
51 # @CONFIGURE_AC@ was not properly substituted.
53 $EGREP 'stamp-vti:.*textutils\.texi( .*)?$' Makefile.
in
54 $EGREP 'stamp-vti:.*\$\(top_srcdir\)/configure( .*)?$' Makefile.
in
57 # Check that the path to mdate-sh is correct. Over escaping of `$'
58 # etc. once led to `\$\(srcdir\)/mdate-sh'.
60 # Filter out '$(srcdir)/mdate-sh'; output occurrences of `SOMETHING/mdate-sh'
61 sed -n 's,\$(srcdir)/mdate-sh,,g;s,.* \([^ ]*/mdate-sh\) .*,\1,gp' Makefile.
in|
62 # There must remain nothing.