2 # Copyright (C) 1996-2012 Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 # Basic checks and some regressions testing on `version.texi'
18 # support for texinfo files.
22 cat > Makefile.am
<< 'END'
23 info_TEXINFOS
= textutils.texi
26 cat > textutils.texi
<< 'END'
28 @setfilename textutils.info
31 # 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:
45 # $(srcdir)/textutils.info: $(srcdir)/version.texi
47 # $(srcdir)/textutils.info: version.texi
48 grep '^\$(srcdir)/textutils\.info:.*[ /]version\.texi *$' Makefile.
in
50 # Test for bug reported by Lars Hecking:
51 # When running the first version of configure.ac aware automake,
52 # @CONFIGURE_AC@ was not properly substituted.
53 $EGREP 'stamp-vti:.*textutils\.texi( .*)?$' Makefile.
in
54 $EGREP 'stamp-vti:.*\$\(top_srcdir\)/configure( .*)?$' Makefile.
in
56 # Check that the path to mdate-sh is correct. Over escaping of `$'
57 # etc. once led to `\$\(srcdir\)/mdate-sh'.
58 # Filter out '$(srcdir)/mdate-sh'; there should be no occurrences
59 # of `.../mdate-sh' left then.
60 sed 's,\$(srcdir)/mdate-sh,,g' Makefile.
in |
grep '/mdate-sh' && Exit
1