2 # Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2011 Free Software
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 2, 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/>.
18 # Basic checks and some regressions testing on `version.texi'
19 # support for texinfo files.
25 cat > Makefile.am
<< 'END'
26 info_TEXINFOS
= textutils.texi
29 cat > textutils.texi
<< 'END'
31 @setfilename textutils.info
34 # 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:
48 # $(srcdir)/textutils.info: $(srcdir)/version.texi
50 # $(srcdir)/textutils.info: version.texi
51 grep '^\$(srcdir)/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.
56 $EGREP 'stamp-vti:.*textutils\.texi( .*)?$' Makefile.
in
57 $EGREP 'stamp-vti:.*\$\(top_srcdir\)/configure( .*)?$' Makefile.
in
59 # Check that the path to mdate-sh is correct. Over escaping of `$'
60 # etc. once led to `\$\(srcdir\)/mdate-sh'.
61 # Filter out '$(srcdir)/mdate-sh'; there should be no occurrences
62 # of `.../mdate-sh' left then.
63 sed 's,\$(srcdir)/mdate-sh,,g' Makefile.
in |
grep '/mdate-sh' && Exit
1