tests: fix spurious failures in two texinfo tests
[platform/upstream/automake.git] / ChangeLog
1 2011-01-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
2
3         tests: fix spurious failures in two texinfo tests
4         * tests/txinfo.test ($required): Add 'makeinfo'.
5         * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
6         that make won't try to run makeinfo (which could be unavailable)
7         to build it.
8         Found by NixOS Hydra, reported by Ralf Wildenhues.
9
10 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
11
12         Improve, extend and tweak tests on Texinfo support.
13         * tests/instdir-texi.test: Add a call to `ls -l' after that to
14         `make', for debugging.  When looking for required tools, do not
15         redirect the output of "$tool --help" to /dev/null, and do not
16         uselessly run it in a subshell.
17         * tests/txinfo.test: Rewritten to run autoconf, ./configure and
18         make.  All checks moved into Makefile.am.
19         * tests/txinfo8.test: Likewise, and modernize the generated
20         configure.in.
21         * tests/txinfo2.test: Moved checks into Makefile.am, and other
22         minor improvements.
23         * tests/txinfo5.test: Enable `errexit' shell flag, and related
24         changes.  Add trailing `:' command.
25         * tests/txinfo6.test: Likewise, and make grepping of generated
26         Makefile.in stricter.
27         * tests/txinfo7.test: Enable `errexit' shell flag, and related
28         changes.  Add trailing `:' command.  Do not add unnecessary stuff
29         to Makefile.am.
30         * tests/txinfo9.test: Verify that more targets which are expected
31         to be generated only once really are.  Make grepping less strict,
32         to avoid exposing too much internal details.  More minor changes.
33         * tests/txinfo16.test: Add trailing `:'.  Prefer cat over echo
34         for appending to configure.in.  Updated/fixed heading comments.
35         * tests/txinfo23.test: Likewise, and extended a little by making
36         it check that no info file is created in the $(srcdir).
37         * tests/txinfo24.test: Likewise.
38         * tests/txinfo25.test: Likewise.
39         * tests/txinfo18.test: Add trailing `:'.  Prefer cat over echo
40         for appending to configure.in.  Also, check that index files are
41         cleaned also by "make clean", not only by "make distclean".
42         * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
43         and added trailing `:' command.  This testcase also used to check
44         that automake ignores in-line comments when using variables, but
45         preserves them in the output; these checks (added in commit
46         "Release-1-7f-4-g9177ef8") do not really pertain to this test,
47         so they have been moved ...
48         * tests/comments-in-var-defn.test: ... into this new test.
49         * tests/txinfo4.test: Escape literal dots in grep regexps.  Add
50         trailing `:' command.
51         * tests/txinfo29.test: Likewise.  Relax grepping of generated
52         Makefile.in w.r.t. whitespaces.  Prefer `cat' over `echo' to
53         append to configure.in.
54         * tests/txinfo3.test: Likewise.
55         * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
56         make it stricter, sometimes laxer).  Move `set -e' setting just
57         after the inclusion of ./defs.  De-uglify a sed command.  Other
58         minor cosmetic improvements.
59         * tests/vtexi2.test: Make grepping of Makefile.in stricter.  Add
60         trailing `:' command.
61         * tests/vtexi3.test: New test on version.texi support.
62         * tests/vtexi4.test: Likewise.
63         * tests/Makefile.am (TESTS): Updated.
64
65 2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
66
67         * NEWS: Fix typo (forgotten word).
68
69 2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
70              Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
71
72         docs: how to work around checks on invalid primary/directory couples
73         * doc/automake.texi (Uniform): Document the blessed idiom which can
74         be used to work around automake checks on invalid primary/directory
75         couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
76
77 2011-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
78
79         Sync auxiliary files from upstream.
80         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
81         Sync from upstream.
82
83         Fix maintainer-check regression.
84         * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
85         environment.
86
87         Bump copyright years.
88         * aclocal.in (write_aclocal, version): Bump copyright years.
89         * automake.in (gen_copyright, version): Likewise.
90         * doc/automake.texi: Likewise.
91
92 2010-12-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
93             Stefano Lattarini  <stefano.lattarini@gmail.com>
94
95         Work around a bug in file-inclusion mechanism of Solaris make.
96         * automake.in (handle_single_transform): In the name of the
97         dependency file: collapse multiple slash characters into a single
98         one.
99         * tests/subobj11a.test: New test.
100         * tests/subobj11b.test: Likewise.
101         * tests/subobj11c.test: Likewise.
102         * tests/depcomp8a.test: Likewise.
103         * tests/depcomp8b.test: Likewise.
104         * tests/Makefile.am (TESTS): Updated.
105         * NEWS: Updated.
106         Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
107         patch and tests by Stefano Lattarini.
108
109 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
110
111         Fix two spurious testsuite failures on IRIX 6.5.
112         * tests/suffix13.test (Makefile.am): Account for VPATH issues on
113         weaker make implementations (e.g. IRIX 6.5).
114         * tests/parallel-tests8.test: Likewise, plus a required related
115         change.
116         Reported by Ralf Wildenhues.  The bugs have been there from the
117         first versions of the affected test scripts.
118
119 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
120
121         docs: cygnus mode doesn't require AM_CYGWIN32 macro.
122         * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
123         the AM_CYGWIN32 macro (and indeed hasn't required it since at
124         least commit Release-1-2-31-g3038064 "merged changes from
125         Cygnus" of 1997-08-25).
126
127 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
128
129         distlinksbrk.test: Work around botched "make -k".
130         * tests/distlinksbrk.test: Run "make" multiple times and grep
131         its output each time for a single error message, rather than
132         running "make -k" one single time and grepping its output for
133         all the expected error messages.  This should work around make
134         implementations with limited (broken?) `-k' support; for more
135         information, see these subthreads on the automake-patches list:
136           - 2010-11-15, "Testsuite failures on HP-UX 11.23",
137             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
138           - 2010-11-15, "Testsuite failures on IRIX 6.5",
139             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
140
141 2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
142
143         Fix sed-related buglet in test "subdir5.test"
144         * tests/subdir5.test: Always terminate text passed to the
145         `i' sed command with a newline, to work around limitations
146         in e.g. older OpenBSD sed.
147
148 2010-12-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
149
150         docs: fix blunder in example about python extension modules
151         * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
152         not `quaternion_SOURCES', to declare the sources of python
153         extension module `quaternion.la'.
154
155 2010-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
156
157         docs: list LTLIBRARIES among Automake primaries
158         * doc/automake.texi (Uniform): List `LTLIBRARIES' among
159         the Automake primaries.
160
161 2010-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
162
163         Improve tests on generated portions of configure help screen.
164         * tests/help-depend.test: Grepping of configure help screen
165         relaxed to cater for possible line wrapping, and tightened in
166         other respects.
167         * tests/help-depend2.test: Likewise.
168         * tests/help-dmalloc.test: Likewise.
169         * tests/help-lispdir.test: Likewise.
170         * tests/help-maintainer.test: Likewise.
171         * tests/help-multilib.test: Likewise.
172         * tests/help-silent.test: Likewise.
173         * tests/help-upc.test: Likewise.
174         * tests/help-init.test: Grepping of configure help screen
175         tightened.
176
177 2010-12-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
178
179         Avoid running installed automake from 'libtool --help'.
180         * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
181         Together with fixed Libtool, this fixes check-coverage to not
182         invoke installed automake.
183
184 2010-11-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
185
186         Fix spurious failures in `silent*.test' for $CC != gcc
187         In some tests on automake-produced silent rules, we forced the
188         use of gcc depmode to improve testsuite coverage; but this has
189         unsurprisingly led to spurious failures when some non-GNU C
190         compilers were used.  So we are now careful to require GCC in
191         tests that force gcc depmode.
192         From reports by Ralf Wildenhues.
193         * silent5.test: Test removed, its content split into ...
194         * silent-many-generic.test, silent-many-gcc.test: ... these new
195         sister tests, the latter of which forces gcc depmode and lists
196         "gcc" in $required.
197         * silentlex.test: Test removed, its content split into ...
198         * silent-lex-generic.test, silent-lex-gcc.test: ... these new
199         sister tests, the latter of which forces gcc depmode and lists
200         "gcc" in $required.
201         * silentyacc.test: Test removed, its content split into ...
202         * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
203         sister tests, the latter of which forces gcc depmode and lists
204         "gcc" in $required.
205         * tests/Makefile.am (TESTS): Updated.
206
207 2010-11-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
208
209         Tests: consistently use "|| Exit 1" after ". ./defs".
210         * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
211         `. ./defs', for consistency with other tests.
212         * tests/autohdr2.test: Likewise.
213         * tests/autohdr3.test: Likewise.
214         * tests/autohdr4.test: Likewise.
215         * tests/cond23.test: Likewise.
216         * tests/cond24.test: Likewise.
217         * tests/cond25.test: Likewise.
218         * tests/cond26.test: Likewise.
219         * tests/cond27.test: Likewise.
220         * tests/cond28.test: Likewise.
221         * tests/cond29.test: Likewise.
222         * tests/cond30.test: Likewise.
223         * tests/cond31.test: Likewise.
224         * tests/cond32.test: Likewise.
225         * tests/cond33.test: Likewise.
226         * tests/cond34.test: Likewise.
227         * tests/cond35.test: Likewise.
228         * tests/cond36.test: Likewise.
229         * tests/cond37.test: Likewise.
230         * tests/cond38.test: Likewise.
231         * tests/cond39.test: Likewise.
232         * tests/cond40.test: Likewise.
233         * tests/cond41.test: Likewise.
234         * tests/cond42.test: Likewise.
235         * tests/cond43.test: Likewise.
236         * tests/cond44.test: Likewise.
237         * tests/cond45.test: Likewise.
238         * tests/dollarvar.test: Likewise.
239         * tests/dollarvar2.test: Likewise.
240         * tests/hfs.test: Likewise.
241         * tests/libobj14.test: Likewise.
242         * tests/percent.test: Likewise.
243         * tests/percent2.test: Likewise.
244         * tests/phony.test: Likewise.
245         * tests/silent.test: Likewise.
246         * tests/silent2.test: Likewise.
247         * tests/silent3.test: Likewise.
248         * tests/silent4.test: Likewise.
249         * tests/silent5.test: Likewise.
250         * tests/silent6.test: Likewise.
251         * tests/silent7.test: Likewise.
252         * tests/silent9.test: Likewise.
253         * tests/silentcxx.test: Likewise.
254         * tests/silentf77.test: Likewise.
255         * tests/silentf90.test: Likewise.
256         * tests/silentlex.test: Likewise.
257         * tests/silentyacc.test: Likewise.
258
259         Avoid useless cleaning in some `silent*.test' tests.
260         * tests/silentf77.test: Removed useless calls to "make clean"
261         and "make maintainer-clean".
262         * tests/silentf90.test: Likewise.
263         * tests/silent3.test: Removed useless call to "make distclean".
264         * tests/silent4.test: Likewise.
265         * tests/silent9.test: Likewise.
266
267 2010-11-19  Ian Lance Taylor  <iant@google.com>
268
269         Sync config-ml.in from GCC.
270         * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
271         compiler/flag environment variables.
272
273 2010-11-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
274
275         Automake::Config: remove extra trailing semicolon.
276         * lib/Automake/Config.in: Remove extra trailing semicolon.
277
278         help4.test: fix botched heading comment.
279         * tests/help4.test: Fixed the heading comment, since it
280         didn't correctly describe what checks the testcase was
281         supposed to perform.
282
283         help2.test: add checks on aclocal too.
284         * tests/help2.test: Check that also `aclocal --version' and
285         `aclocal --help' work with configure.in and acinclude.m4 both
286         broken.
287
288 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
289
290         Fix spurious failures of silent-rules tests with Sun Fortran.
291         * tests/silentf77.test: Strip from the make output some verbose
292         messages possibly printed by the SunStudio fortran compilers, to
293         avoid spurious failures.  Add a trailing `:' command.
294         * tests/silentf90.test: Likewise.
295
296 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
297
298         Fix spurious failures of silent5.test with Sun Fortran.
299         * tests/silent5.test: Strip from the make output some verbose
300         messages possibly printed by the SunStudio fortran compilers,
301         to avoid spurious failures.  This bug has been there from the
302         very first version of this test script.
303
304 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
305
306         Fix regression in colon{5,6}.test (failures on AIX 5.3).
307         * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
308         post-processing the generated Makefile.in, to work around a bug
309         of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
310         on the commend line.  Calls to `$MAKE' adjusted accordingly.
311         * tests/colon6.test: Likewise.
312         Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
313         improve and/or extend tests `colon*.test", and reported by Ralf
314         Wildenhues.
315
316 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
317
318         Fix regression in ansi.test (failure on AIX 5.3).
319         * tests/ansi.test: Remove redundant hackish check done using a
320         hand-postprocessed Makefile.in.  This check worked by setting
321         the `$(SHELL)' macro on the command line of make, but this is
322         not supported by the AIX 5.3 make implementation.
323         This bug has been lurking for a long time, and was activated by
324         commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
325         tests".  Report by Ralf Wildenhues.
326
327 2010-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
328
329         tests: avoid '##'-style comments inside recipe commands.
330         * tests/confh.test, tests/confh8.test: Remove
331         double-hash comments from makefile rule commands, they
332         are not part of the Automake API.
333
334 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
335
336         tests: work around dash quoting issue in case statements.
337         * tests/color.test, tests/color2.test: Quote variable in case
338         pattern, to avoid skipping tests with dash 0.5.5.1.
339
340 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
341
342         Rebuild menus in the manual.
343         * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
344         Thanks to Ian Lance Taylor for the suggestion.
345
346         Fix install-strip when $(STRIP) contains several words.
347         * lib/am/install.am (install-strip): Update comment.  Use
348         separate sub-make invocations for empty and nonempty $(STRIP),
349         to fix quoting issues.
350         * tests/strip2.test, tests/strip3.test: New tests.
351         * tests/Makefile.am (TESTS): Adjust.
352
353 2010-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
354
355         Fix yaccdry.test failure: require bison.
356         * tests/yaccdry.test: Require bison.
357         Found by NixOS Hydra.
358
359 2010-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
360
361         Fix a bug in variable concatenation with `+='.
362         * lib/Automake/VarDef.pm (append): Since the content of the
363         "appended-to" variable is going to be unconditionally normalized
364         later, simply separate the appended value with a single whitespace
365         character, instead of trying to be uselessly smarter by using
366         escaped newlines.  This fixes a bug in which extra backslashes
367         where erroneously inserted in the variable's final value.
368         * tests/pluseq11.test: New test, exposing the bug.
369         * tests/Makefile.am (TESTS): Update.
370         Reported by Andy Wingo.
371
372 2010-11-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
373
374         Fix bug in rules for creating vala vapi/header files.
375         * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
376         if control structure in a generated make rules.  Bug introduced
377         by previous commit `v1.11-221-gd7c1679', and revealed by failure
378         of test `vala2.test'.
379
380 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
381
382         Fix and document rules to not touch the tree with `make -n'.
383         * doc/automake.texi (Multiple Outputs): Document the problem of
384         modifications during dry-run execution, propose solution.
385         * NEWS: Update.
386         * automake.in (lang_vala_finish_target): Split recipe so the
387         stamp file is not removed with GNU `make -n'.
388         (lang_yacc_target_hook): Separate removal of parser output file
389         and header remaking.
390         * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
391         passed to make, take care not to remove any files in that case.
392         * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
393         %STAMP% file from induced remaking of config header.
394         * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
395         New tests.
396         * tests/Makefile.am (TESTS): Update.
397
398 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
399
400         Add FAQ entry for bug reporting instructions.
401         * doc/automake.texi (Reporting Bugs): New section.
402         (Introduction): Refer to it.
403
404 2010-10-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
405
406         Add support for newer python versions.
407         * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
408         _AM_PYTHON_INTERPRETER_LIST.  Since we are at it, break a long
409         line and fix indentation.
410         * THANKS: Updated.
411         From a report by Thomas Klausner.
412
413         Add test for `AM_WITH_DMALLOC' macro.
414         * tests/dmalloc.test: New test.
415         * tests/Makefile.am (TESTS): Update.
416
417         Fix nits and bugs in tests `help*.test'.
418         * tests/help4.test: Fix broken sed commands used to strip `-W...'
419         flags away from "$AUTOMAKE" and "$ACLOCAL".
420         * tests/help3.test: Likewise, and fix a botched comment.
421         * tests/help.test: Likewise.  Also, use "AUTOMAKE_fails ..."
422         instead of "$AUTOMAKE ... && Exit 1", for consistency and to
423         please maintainer-check.
424         * tests/help2.test: Likewise.
425
426 2010-10-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
427             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
428
429         Improve tests `help*.test' (also fixes maintcheck failures).
430         * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
431         flags stripped away rather than hard-coded `automake-$APIVERSION',
432         to better honour user-overrides.  Similarly for aclocal.
433         * tests/help2.test: Likewise.
434         * tests/help3.test: Likewise.
435         * tests/help4.test: Likewise.
436
437 2010-10-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
438
439         Document and fix expansion of variables before rules.
440         * doc/automake.texi (General Operation): Document that variables
441         are expanded before rules.
442         * lib/am/check.am (am__check_post): Reword a bit so it does not
443         get matched as a rule.
444         Suggestion by Ben Pfaff.
445
446 2010-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
447
448         Revert "parallel-tests: avoid command-line length limit issue."
449         This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
450         because it re-opened the bug fixed by v1.11-10-g218e678.
451
452         2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
453
454         parallel-tests: avoid command-line length limit issue.
455         * automake.in (handle_tests): New argument $makefile, new
456         substitution %MAKEFILE%.
457         (generate_makefile): Adjust.
458         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
459         sanitized TEST_LOGS value as makefile snippet on standard
460         input to $(MAKE), to avoid exceeding the command line limit on
461         w32 (MSYS).
462         * NEWS: Update.
463         Report by Bob Friesenhahn.
464
465 2010-09-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
466
467         Extend tests on `--help' and `--version' options.
468         * tests/help.test: Create a new empty directory and chdir into
469         it, rather than removing already present files.  Run the aclocal
470         and automake wrapper scripts directly, instead of relying on
471         $AUTOMAKE and $ACLOCAL.  Be sure to correctly match literal dots
472         in aclocal's and automake's stderr.  Add a trailing `:' command.
473         * tests/help2.test: New test, checking that options `--help' and
474         `--version' works in directories with broken `configure.in'.
475         * tests/help3.test: New test, checking that options `--help' and
476         `--version' take precedence on the other options.
477         * tests/help4.test: New test, checking that the first among the
478         `--help' and `--version' options to be specified on the command
479         line wins.
480         * tests/Makefile.am (TESTS): Updated.
481
482 2010-09-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
483
484         Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
485         * tests/compile2.test: Do no uselessly (implicitly) repeat the
486         computation of PATH_SEPARATOR again.
487         * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
488         extending/redefining PATH.
489         * tests/instmany-python.test: Likewise.
490         * tests/instmany.test: Likewise.
491         * tests/man4.test: Likewise.
492         * tests/mkinst3.test: Likewise.
493         * tests/mmodely.test: Likewise.
494         * tests/multlib.test: Likewise.
495         * tests/txinfo30.test: Likewise.
496         * tests/README (Section "Writing test cases" subsection "Do"):
497         Updated.
498         * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
499         (syntax_check_rules): Updated.
500
501         Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
502         * tests/defs.in ($APIVERSION):  New AC_SUBST'd variable.
503         ($ACLOCAL, $AUTOMAKE): Use it.
504         ($PATH_SEPARATOR):  New AC_SUBST'd variables.
505         ($PATH): Use it.
506
507 2010-09-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
508
509         Manual: be more agnostic w.r.t. version control system used.
510         * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
511         directories as a type of probably-unwanted files that are copied
512         regardless when adding directories to EXTRA_DIST.
513         (The dist Hook): Show a dist-hook example which removes Subversion
514         `.svn' private directories from distdir, rather than CVS private
515         directories.
516         (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
517         the version control system used.
518
519         Manual: index refer to target "git-dist", not "cvs-dist".
520         * doc/automake.texi (General Operation): Index the non-standard
521         example about "git-dist" under the "git-dist" label, not under
522         the "cvs-dist" one.
523
524         Perl modules: remove references to "Automake CVS repository".
525         * lib/Automake/Channels.pm: Update comments to refer to "Automke's
526         git repository" rather than to "Automake's CVS repository".
527         * lib/Automake/Configure_ac.pm: Likewise.
528         * lib/Automake/FileUtils.pm: Likewise.
529         * lib/Automake/Struct.pm: Likewise.
530         * lib/Automake/XFile.pm: Likewise.
531         * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
532         branches" rather than "CVS branches".
533
534         Remove obsolete .cvsignore files.
535         * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
536         lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
537         m4/.cvsignore, tests/.cvsignore: Files deleted.  Even when using
538         savannah's CVS readonly mirror there's no way to commit back to
539         the real repository, so this files are not worth maintaining or
540         keeping around.
541
542 2010-09-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
543
544         * m4/dmalloc.m4: Bump serial number and copyright years.
545
546 2010-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
547
548         Fix broken link in `AM_WITH_DMALLOC' help screen.
549         * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
550         `http://www.dmalloc.com', not to the dmalloc tarball there (which
551         seems to have been removed, substituted by multiple release
552         tarballs now).
553
554 2010-09-17  Eric Blake  <eblake@redhat.com>
555
556         Avoid triple-space after period.
557         * automake.in (handle_single_transform): Avoid 3 spaces at
558         sentence end.
559         * ChangeLog.03: Likewise.
560         * lib/Automake/ChannelDefs.pm: Likewise.
561         * lib/Automake/Channels.pm (_print_message): Likewise.
562         * lib/Automake/Rule.pm (rule): Likewise.
563         * lib/Automake/Variable.pm (var): Likewise.
564         * lib/am/distdir.am: Likewise.
565         * tests/insthook.test: Likewise.
566
567 2010-09-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
568
569         Test automake-generated portions of configure help screen.
570         * tests/help-depend.test: New test.
571         * tests/help-depend2.test: Likewise.
572         * tests/help-dmalloc.test: Likewise.
573         * tests/help-init.test: Likewise.
574         * tests/help-lispdir.test: Likewise.
575         * tests/help-maintainer.test: Likewise.
576         * tests/help-multilib.test: Likewise.
577         * tests/help-regex.test: Likewise.
578         * tests/help-silent.test: Likewise.
579         * tests/help-upc.test: Likewise.
580         * tests/mmode.test: Remove tests on `configure --help' output,
581         they are superseded by tests in `help-maintainer.test'.
582         * tests/Makefile.am (TESTS): Update.
583
584 2010-09-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
585
586         * tests/README: Don't put GCS mandated tools in $required.
587
588 2010-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
589
590         * HACKING: Hint at old commits with `git describe' output.
591
592 2010-09-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
593
594         Fix regression in test `colon4.test'.
595         * tests/colon4.test: Fix botched editing to `configure.in'
596         that made the test useless.  Since we are at it, improve
597         comments and make grepping of generated Makefile.in slightly
598         stricter.
599         Regression introduced by change "Modernize, improve and/or
600         extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
601
602 2010-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
603
604         Do not require "gzip" explicitly in tests.
605         The gzip utility is simply expected to be present on any decent
606         target system for Automake.  So it's pointless to put it in
607         $required.
608         * tests/install2.test ($required): Do not require "gzip".
609         * tests/lex3.test: Likewise.
610         * tests/pr9.test: Likewise.
611         From a suggestion by Ralf Wildenhues.
612
613         Make some `confh*.test' tests more "semantic" (plus tweakings).
614         * tests/confh.test: Run "autoconf", "configure" and "make check",
615         instead of munging/grepping the generated `Makefile.in'.
616         * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
617         white spaces.  Do not create useless dummy source file `foo.c'
618         and useless dummy header file `acconfig.h'.
619         (configure.in): Remove superfluous call to `AC_OUTPUT'.
620         * tests/confh6.test: Add trailing `:' command.
621         * tests/confh7.test: In comments, add reference to ...
622         * tests/confh8.test: ... this new test, "semantic" sister
623         of `confh7.test'.
624         * tests/Makefile.am (TESTS): Updated.
625         Prompted by a report from Ralf Wildenhues.
626
627         Remove useless whitespace padding in XFAIL_TESTS definition.
628         * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
629
630 2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
631
632         parallel-tests: avoid command-line length limit issue.
633         * automake.in (handle_tests): New argument $makefile, new
634         substitution %MAKEFILE%.
635         (generate_makefile): Adjust.
636         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
637         sanitized TEST_LOGS value as makefile snippet on standard
638         input to $(MAKE), to avoid exceeding the command line limit on
639         w32 (MSYS).
640         * NEWS: Update.
641         Report by Bob Friesenhahn.
642
643         Posix 2008 requires make to set errexit.
644         * lib/am/check.am: Update comment.
645
646 2010-08-27  Stefano Lattarini  <stefano.lattarini@gmail.com>
647
648         Fix bug in test missing6.test.
649         * tests/missing6.test: Fix the hack used to edit `configure.in',
650         to avoid producing a configure script that breaks with shells
651         that do not support $LINENO.  Also throw in a couple of cosmetic
652         changes.
653
654 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
655
656         Improve robustness of mdate-sh script.
657         * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
658         $ls_command is word-split properly upon invocation.
659         (error): New function.
660         (main): Use it.  Improve error checking to avoid endless loop
661         in case $ls_command gave bogus output.  Fix eval quotation.
662         * tests/mdate6.test: New test, to expose eval quotation error.
663         * tests/Makefile.am: Update.
664
665 2010-08-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
666
667         Fix potential regressions in depcomp{3,5}.test.
668         * tests/depcomp3.test: Do not uselessly escape the character `$'
669         in makefile rules, when it's used to expand a make macro.
670         * tests/depcomp5.test: Likewise.
671
672 2010-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
673             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
674
675         Docs: clarify how to avoid automatic dependencies tracking.
676         * doc/automake.texi (Automatic dependency tracking): Mention that
677         automatic dependencies tracking is enabled by default, but that
678         the package developer can disable it altogether.  Add a reference
679         to the proper section for a more in-depth explanation.
680
681         Fix typo in manual (`Makefile.in' instead of `Makefile.am').
682         * doc/automake.texi (Automatic dependency tracking): Fix typo.
683
684 2010-08-16  Bruno Haible  <bruno@clisp.org>
685
686         Don't hide the table of contents.
687         * doc/automake.texi: Move the table of contents to the beginning.
688
689 2010-08-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
690
691         Tweak and/or extend some `acloca*.test' tests.
692         * tests/aclocal8.test:  Ensure verbose printing of captured
693         output.
694         * tests/aclocal.test: Likewise.  Also, add trailing `:'
695         command.
696         * tests/acloca19.test: Likewise.
697         * tests/aclocal5.test: Add trailing `:' command, and prefer
698         `$me' over hard-coded test name.
699         * tests/aclocal6.test: Likewise.
700         * tests/aclocal18.test: Add trailing `:' command, and make
701         some grepping slightly stricter.
702         * tests/acloca14.test: Likewise.  Also, prefer `diff' over
703         `cmp', and add some "cosmetic" blank lines.
704
705 2010-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
706
707         Tweak and extend tests `pr[!0-9]*.test'.
708         * tests/primary3.test: Add trailing `:' command.
709         * tests/primary.test: Make grepping of Automake's stderr stricter.
710         Also, add trailing `:' command, and cosmetic changes in spacing.
711         * tests/primary2.test: Likewise.
712         * tests/prefix.test: Enable `errexit' shell flags, and related
713         changes.  Add a trailing `:' command.
714         * tests/proginst.test: Likewise.
715
716         Modernize, improve and extend tests for PR (`pr[0-9]*.test').
717         * tests/pr2.test: Add trailing `:' command.
718         * tests/pr229.test: Likewise.
719         * tests/pr401.test: Likewise.
720         * tests/pr401b.test: Likewise.
721         * tests/pr401c.test: Likewise.
722         * tests/pr300-prog.test: Likewise, plus cosmetic changes in
723         spacing.
724         * tests/pr300-lib.test: Likewise.
725         * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
726         of captured make stdout.
727         * tests/pr211.test: Add trailing `:' command.  Also, use the
728         `configure.in' stub created by ./defs, rather than writing it
729         from scratch.
730         * tests/pr204.test: Likewise, plus cosmetic spacing changes.
731         * tests/pr287.test: Likewise, and move setting of `errexit' shell
732         flag earlier in the script (just after inclusion of ./defs).
733         * tests/pr220.test: Make grepping of Automake's stderr stricter.
734         Also, add trailing `:' command, and cosmetic changes in spacing.
735         * tests/pr224.test: Move setting of `errexit' shell flag earlier
736         in the script (just after inclusion of ./defs).  Do not export
737         `CC=gcc' to configure explicitly (it's already exported globally
738         in ./defs, since we have "gcc" in $required).  Use the stub for
739         `configure.in' created by ./defs, rather than writing it from
740         scratch.  Do not create dummy files required by "gnu" mode (e.g.
741         README, NEWS), since we run automake in foreign mode anyway.
742         * tests/pr72.test: Enable `errexit' shell flags, and related
743         changes.  Extend existing checks a bit.
744         * tests/pr9.test: Likewise.  Also, avoid obsolescent constructs in
745         the generated `configure.in', and extend existing checks over the
746         generated tarball a bit.
747         * tests/pr87.test: Enable `errexit' shell flags, and related
748         changes.  Add a trailing `:' command.  Also, do not create dummy
749         files required by "gnu" mode (e.g. README, NEWS), since we run
750         automake in foreign mode anyway.
751         * tests/pr243.test: Avoid obsolescent constructs in the generated
752         `configure.in'.  Enable the `errexit' shell flag, and related
753         changes.  Cosmetic changes to spacing, add trailing `:' command,
754         and add a "FIXME" comment.
755         * tests/pr266.test: Likewise, and add explicit command line switch
756         `--enable-dependecy-tracking' to the ./configure call.
757         * tests/pr279.test: Avoid obsolescent constructs in the generated
758         `configure.in'; also, use the `configure.in' stub created by
759         ./defs, rather than writing it from scratch.  Enable `errexit'
760         shell flag, and related changes.  Add trailing `:' command.
761         * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
762         stricter.
763         * tests/pr307.test: Move setting of `errexit' shell flag earlier
764         in the script (just after inclusion of ./defs).  Escape literal
765         dots in grep regular expressions.  Also, add a trailing `:'
766         command, and cosmetic changes to spacing.
767
768         Tests for PR: add excerpts from original bug report, for clarity.
769         * tests/pr2.test: Ditto.
770         * tests/pr9.test: Likewise.
771         * tests/pr72.test: Likewise.
772         * tests/pr87.test: Likewise.
773         * tests/pr211.test: Likewise.
774         * tests/pr220.test: Likewise.
775         * tests/pr224.test: Likewise.
776         * tests/pr229.test: Likewise.
777         * tests/pr243.test: Likewise.
778         * tests/pr266.test: Likewise.
779         * tests/pr279.test: Likewise, and tell to keep it in sync
780         with its sister test.
781         * tests/pr279-2.test: Likewise.
782
783 2010-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
784
785         Tweak, extend and improve tests `cond[a-z]*.test'.
786         * tests/condd.test: Add trailing `:' command.  Typofix in
787         comment.
788         * tests/condhook.test: Make sure target `install-data-hook' is
789         not called by `make install', but that data files are installed.
790         Use proper m4 quoting in configure.in. Add trailing `:' command.
791         * tests/condhook2.test: New test, sister test of condhook, with
792         inverted semantic.
793         * tests/condinc2.test: Use proper m4 quoting in configure.in.
794         Prefer trailing `:' command over trailing `Exit 0'.
795         * tests/condman2.test: Enable errexit shell flag, and related
796         changes.  Add trailing `:' command.
797         * tests/condman.test: Likewise.  Also, do not create useless
798         dummy manpages, and use proper m4 quoting in configure.in.
799         * tests/condman3.test: New test, similar to condman.test, but
800         it also runs ./configure and "make install", and check the
801         installed files.
802         * tests/Makefile.am (TESTS): Updated.
803
804         Modernize, improve and/or extend tests `colon*.test.
805         * tests/colon.test: Rely on the `configure.in' stub created by
806         `./defs', rather than writing one from scratch.  Do not create
807         a useless dummy file.  Add trailing `:' command.
808         * tests/colon4.test: Enable the `errexit' shell flag, and
809         related changes.  Rely on the `configure.in' stub created by
810         `./defs', rather than writing one from scratch.
811         * tests/colon7.test: Enable `errexit' shell flag, and related
812         changes.  Improve the generated `configure.in' file.  Add
813         trailing `:' command.
814         * tests/colon2.test: Likewise.  Also, add some new checks.
815         * tests/colon5.test: Improve the generated `configure.in' file.
816         Add new, much deeper checks.  Add trailing `:' command.
817         * tests/colon6.test: Likewise.
818         * tests/colon3.test: Add trailing `:' command.  Remove useless
819         comments and echos.  Improve the generated `configure.in' file.
820         make some grepping tests stricter.  Add a "FIXME" comments about
821         planned improvements.
822
823         Improve and extend tests `asm*.test'.
824         * tests/asm.test: Use configure.in stub generated by ./defs,
825         and avoid obsoleted autoconf constructs.  Make grepping of
826         Automake stderr stricter.  Do not create useless source file.
827         Improve verbose messages.  Minor cosmetic changes.  Tell to
828         keep it in sync with other sister tests asm*.test.
829         * tests/asm2.test: Likewise.
830         * tests/asm3.test: Likewise.
831
832         Modernize, improve and/or extend test scripts `conf*.test'.
833         * tests/confh5.test: Cosmetic changes.
834         * tests/conff.test: Likewise.
835         * tests/confdeps.test: Likewise.
836         * tests/conflnk.test: Likewise.
837         * tests/conflnk2.test: Likewise.
838         * tests/confsub.test: Likewise.
839         * tests/confvar.test: Likewise, and make grepping of Makefile.in
840         stricter.
841         * tests/confvar2.test: Likewise.
842         * tests/conflnk3.test: Cosmetic changes.  Re-enable a temporarily
843         disabled test (which didn't work with autoconf <= 2.59, but now we
844         are requiring autoconf 2.62, so...)
845         * tests/conflnk4.test: Cosmetic changes, and extend existing tests
846         accordingly to "TODO" comments.
847         * tests/conff2.test: Make grepping of Automake's stderr stricter.
848         Add some comments explaining why we don't use the `configure.in'
849         stub preset be ./defs.
850         * tests/confh.test: Use the `configure.in' stub created by ./defs,
851         rather than writing one from scratch, and do not call AC_OUTPUT.
852         Enable `errexit' shell flag, and related changes.  Prefer diff over
853         cmp to compare text files. Prefer perl over sed to fetch the value
854         of $(DIST_COMMON) from Makefile.in.  Make grepping of the contents
855         of $(DIST_COMMON) stricter.
856         * tests/confh4.test: Use the `configure.in' stub created by ./defs,
857         rather than writing one from scratch.  Make grepping of Makefile.in
858         stricter.
859         * tests/confh5.test: Make grepping of `config.h' stricter.  Add a
860         comment.
861         * tests/configure.test: Avoid obsolescent constructs in generated
862         `configure.ac'.  Do not write `configure.in' two times.  Escape
863         literal dots in grep regular expressions.
864         * tests/confincl.test:  Enable `errexit' shell flag, and related
865         changes.  Prefer fgrep over grep.  Other cosmetic changes.
866         * tests/config.test: Renamed to ...
867         * tests/confh6.test: ... this.  Fix m4 quoting in `configure.in',
868         and make grepping of `config.h' and `config.h.in' stricter.
869         * tests/conf2.test: Renamed ...
870         * tests/confh7.test: ... to this.  Use the `configure.in' stub
871         created by ./defs, rather than writing one from scratch.  Try to
872         run the checks both with and without AC_PROG_CC and AC_OUTPUT in
873         `configure.in'.
874         * tests/Makefile.am (TESTS): Updated.
875
876         Minor improvements and fixes in tests `depcomp*.test'.
877         * tests/depcomp.test: Do not create useless dummy source files.
878         Add a trailing `:' command.
879         * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
880         it's not in in the environment, rather than exporting it with an
881         empty value.  Do not pass CC=gcc to configure, as that's already
882         done in ./defs since we have gcc in $required.  Ensure verbose
883         printing of captured stderr, and normalize its checking.  Add a
884         trailing `:' command.
885         * tests/depcomp3.test: Quote literal dots and dollar characters in
886         grep regexps.  Always use `: >' rather than `touch' to create empty
887         files.  Explicitly declare phony targets as such in the created
888         Makefile.am.  Add a trailing `:' command.
889         * tests/depcomp4.test: Quote literal dots and dollar characters in
890         grep regexp.  Explicitly declare phony targets as such in the
891         created Makefile.am.  Ensure verbose printing of captured makes'
892         stoud/stderr.  Add a trailing `:' command.
893         * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
894         in the script (just after inclusion of ./defs).  Quote literal dots
895         and dollar characters in grep regexps.  Explicitly declare phony
896         targets as such in the created Makefile.am.  Add a trailing `:'
897         command.
898         * tests/depcomp6.test: Consistently use m4 quoting in the generated
899         configure.in.  Cosmetic fixes to spacing.  Make the "dummy" `if'
900         statement required by OpenBSD's sh `set -e' more robust, and add
901         explanatory comments to it.
902         * tests/depcomp7.test: Likewise, and add  a trailing `:' command.
903
904         Separate failing part of test `all.test'.
905         * tests/all.test: Keep only (x)failing part of the test.  Working
906         checks moved out to ...
907         * tests/all2.test: ... this new test.
908         * tests/Makefile.am (TESTS): Updated.
909
910         Modernize, improve and extend tests `subobj*.test'.
911         * tests/subobjname.test:  Add trailing `:' command.
912         * tests/subobj.test: Make grepping of `Makefile.in' stricter.
913         Escape literal dots in grep regexps.
914         * tests/subobj2.test:  Add trailing `:' command.  Do not use the
915         unportable fgrep option `-e'.
916         * tests/subobj3.test: Add trailing `:' command.
917         (configure.in): Use proper m4 quoting, and avoid obsolescent
918         constructs.
919         * tests/subobj8.test: Likewise.  Also, enable `errexit' shell
920         flag, with related changes
921         * tests/subobj4.test: Likewise.  Also, make grepping of
922         `Makefile.in' stricter.
923         * tests/subobj5.test: Add trailing `:' command.  Move setting of
924         `errexit' shell flag earlier in the script (just after inclusion
925         of ./defs).
926         (configure.in): Use the stub created by `./defs', rather than
927         writing it from scratch, and avoid obsolescent constructs.
928         * tests/subobj6.test: Add trailing `:' command.  Move setting of
929         `errexit' shell flag earlier in the script (just after inclusion
930         of ./defs).  Do not create useless dummy ac-init file `f'.
931         * tests/subobj7.test: Do not create useless dummy ac-init file
932         `f'.
933         (configure.in): Use the stub created by `./defs', rather than
934         writing it from scratch, and avoid obsolescent constructs.
935         * tests/subobj9.test: Move setting of `errexit' shell flag earlier
936         in the script (just after inclusion of ./defs).  Fail the test if
937         `make distcheck' fails.  Ensure verbose printing of captured make
938         stdout.  Avoid useless fork by doing simple grep instead of using
939         test -n "`COMMAND | grep ...`".
940         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
941         (Makefile.am): Explicitly mark target "print" as phony.
942         * tests/subobj10.test: Removed duplicated call to `set -e'.  Add
943         trailing `:' command.
944         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
945
946         Remove a couple of obsoleted tests.
947         * tests/fpinstall.test: Removed.
948         * tests/fpinst2.test: Likewise.
949         * tests/Makefile.am (TESTS): Updated.
950
951         Bootstrap: updated HACKING entry.
952         * HACKING ("Working with git"): Explain how to override the
953         autoconf and autom4te programs used by the bootstrap process.
954
955         Bootstrap: fixlet.
956         * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
957         since we don't generate it.  Correctly quote arguments of
958         `eval' builtin.  Fixed a botched error message.  Removed an
959         extra blank line.
960
961         Bootstrap: don't search perl in $PATH.
962         * bootstrap: Do not explicitly search perl in $PATH anymore.
963         ($PATH_SEPARATOR): Removed, it's no more needed.
964
965         Bootstrap: let the user choose which autoconf to use.
966         * bootstrap ($AUTOCONF): New variable, from the environment.
967         ($AUTOM4TE): Likewise, for clarity.
968         Use "$AUTOCONF" instead of calling "autoconf" directly.
969
970         Minor improvements to tests ar*.test.
971         * tests/ar.test: Add trailing `:' command.
972         * tests/ar2.test: Likewise, and make grepping of generated
973         Makefile.in stricter.
974
975 2010-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
976
977         Fix maintainer-check failure.
978         * tests/cond5.test: Quote sleep argument, this isn't about
979         time stamp differences.
980
981         Sync auxiliary files from upstream.
982         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
983         Sync from upstream.
984
985 2010-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
986
987         Work around a nasty bug (segfault) of Solaris make.
988         * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
989         from $list, to avoid triggering a nasty bug (potential segfault)
990         on Solaris make.
991
992 2010-08-06  Peter Rosin  <peda@lysator.liu.se>
993
994         Make cond5.test more robust on MSYS.
995         * tests/cond5.test: Add delay before the first kill attempt to
996         cater for problems with MSYS bash.
997
998 2010-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
999
1000         Add example git work flow; discuss merge --log in HACKING.
1001         * HACKING: Update.
1002         Suggestion by Stefano Lattarini.
1003
1004         Add more hints for debugging make rules.
1005         * doc/automake.texi (Debugging Make Rules): Show command to find
1006         out expanded values of variables; point to makefile debugger.
1007         * THANKS: Update.
1008         Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1009
1010 2010-07-27  Patrick Welche  <prlw1@cam.ac.uk>  (tiny change)
1011
1012         Fix typo in the manual.
1013         * doc/automake.texi (Scripts): Fix typo.
1014
1015 2010-07-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1016
1017         Document current policy for development with git.
1018         * HACKING (Working with git): Overhaul.
1019         Prompted by suggestion from Stefano Lattarini.
1020
1021         Fix AM_COND_IF for gone-invalid condition shell expression.
1022         * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1023         variable, rather than re-evaluating the shell expression for
1024         the condition.
1025         * tests/cond40.test: Extend test.
1026         * NEWS: Update.
1027
1028         Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1029         * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1030         to avoid shell syntax error if the m4 expansion is empty.
1031         * tests/cond40.test: Enhance test.
1032
1033         Coverage: bogus option to AM_INIT_AUTOMAKE.
1034         * tests/init2.test: New test.
1035         * tests/Makefile.am: Update.
1036
1037 2010-07-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1038
1039         Modernize and improve test scripts `subdir*.test'.
1040         * tests/subdir.test: Enable `errexit' shell flag, and related
1041         changes.  Use the `configure.in' stub created by `./defs',
1042         rather than writing one from scratch.
1043         * tests/subdir2.test: Likewise.
1044         * tests/subdir4.test: Likewise.
1045         * tests/subdir3.test: Enable `errexit' shell flag, and related
1046         changes.  Do not create useless dummy source files.
1047         * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1048         and in subdirs) stricter.  Some minor changes to keep it more
1049         in sync with the related test `subdir8.test'.
1050         * tests/subdir8.test: Likewise (but with the related test being
1051         `subdir5.test' here).
1052         * tests/subdir6.test: Cosmetic change in spacing.
1053         * tests/subdir9.test: Define and use new variable `$distdir'.  Add
1054         trailing `:' command.
1055         * tests/subdir10.test: Cosmetic consistency-related change.
1056         * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1057         (configure.in): Use stub created by `./defs', rather than writing
1058         it from scratch.  Do not use obsoleted and/or deprecated forms of
1059         autoconf/automake macros.
1060
1061         Modernize and improve test scripts `dist*.test'.
1062         * tests/distcleancheck.test: Do not add useless `-e' option to
1063         a $MAKE call.  Extend test by grepping stderr of make.
1064         * tests/distcom2.test: Do not run the same test script on the
1065         Makefile.in twice, but save its output in an intermediate file
1066         instead.  Make grepping of DIST_COMMON definition stricter.
1067         Display the content of more files, to ease debugging.  Add a
1068         trailing `:' command.  Improved heading comments w.r.t. sister
1069         test(s).
1070         * tests/distcom6.test: Likewise, and avoid to uselessly run
1071         autoconf.
1072         * tests/distcom3.test: Ensure verbose printing of captured stdout
1073         and stderr.  Make grepping of captured stderr stricter.  Also,
1074         add trailing `:' command.
1075         * tests/distcom4.test: Declare the target `test' in the generated
1076         Makefile.am as `.PHONY'.  Display content of more files, to ease
1077         debugging.  Add trailing `:' command.
1078         * tests/distcom5.test: Likewise.  Also, factor out common sed
1079         script in subroutine `extract_distcommon'.
1080         * tests/distcom7.test: Prefer cat + here-doc over echo to write
1081         test Makefile.am files.  Add a trailing `:' command.
1082         * tests/distname.test: Prefer `gzip -d' over `gunzip'.  Move the
1083         call to `set -e' earlier.  Be stricter and more verbose in the
1084         checking of the generated tarball.
1085         (configure.in): Use the stub provided by ./defs, instead of
1086         writing it from scratch.  Avoid obsoleted constructs.  Remove
1087         useless call to `AM_PROG_CC_C_O'.
1088         * tests/distdir.test: Various minor improvements/normalizations.
1089         * tests/distlinks.test: Likewise.
1090
1091 2010-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1092
1093         Improve and extend test cond5.test.
1094         * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1095         the background automake process, but poll it every 10 seconds for
1096         at most 30 times (this makes the test both faster on good machines,
1097         and more resilient to spurious timeout-due failures when in low
1098         priority or on heavily-loaded systems).
1099         Check also that automake writes the expected error messages on the
1100         standard error.
1101         Enable `errexit' flag, and related changes.
1102         Rely on the `configure.in' stub created by `./defs', rather than
1103         writing one from scratch.
1104
1105 2010-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1106
1107         Update program --help output to match current GCS.
1108         * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1109         is not defined, for compatibility to Autoconf < 2.64.
1110         * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1111         PACKAGE_URL.
1112         (sc_diff_automake_in_automake): Update number of diff lines for
1113         additional substitutions.
1114         * aclocal.in (usage): Use PACKAGE_BUGREPORT.  Point to Automake
1115         home page and GNU general help page.
1116         * automake.in (usage): Likewise.
1117         * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1118         address.
1119         (Introduction, Creating amhello, amhello Explained, Options):
1120         Use it throughout.
1121         * lib/Automake/Makefile.am (do_subst): Substitute
1122         PACKAGE_BUGREPORT.
1123         * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1124         * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1125         messages.
1126
1127         Clean up @var handling in the manual.
1128         * doc/automake.texi: Throughout the manual, lower-case @var
1129         names, replace a few one-character names.
1130
1131 2010-06-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
1132
1133         Fix typo-related bug in test script silent5.test.
1134         * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1135         defined).
1136
1137         Tests: remove useless repetitions of `foreign' automake option.
1138         * tests/multlib.test (configure.in): Remove useless use of
1139         `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1140         already in $AUTOMAKE by default, so no point in repeating it).
1141         * tests/subobj10.test: Likewise.
1142         * tests/subobj9.test: Likewise.
1143         * tests/lex3.test (Makefile.am): Similarly, remove useless use
1144         of `foreign' option in AUTOMAKE_OPTIONS.
1145         * tests/lex5.test: Likewise.
1146         * tests/pr279.test: Likewise.
1147         * tests/pr279-2.test: Likewise.
1148         * tests/specflg3.test: Likewise.
1149         * tests/target-cflags.test: Likewise.
1150
1151         Drop useless requirement "gzip" in lex5.test.
1152         * tests/lex5.test ($required): Do not list "gzip", as it's
1153         never used.
1154
1155 2010-06-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
1156
1157         Fix bugs in test script silent5.test.
1158         * tests/silent5.test: Fixed a nasty bug (due to the use of grep
1159         instead of egrep) that could have led to false negatives.
1160
1161 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1162
1163         Add a test checking that distributed broken symlinks cause
1164         `make dist' to fail.
1165         * tests/distlinksbrk.test: New test.
1166         * tests/Makefile.am (TESTS): Updated.
1167
1168 2010-06-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1169
1170         Fix minor testsuite issues, update docs, for Yacc/Lex changes.
1171         * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
1172         and AM_LFLAGS, LFLAGS in the order in which they now appear in
1173         the rules.
1174         * NEWS: Update.
1175         * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
1176         tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
1177         please maintainer-check.  Ensure generated C files contain a
1178         declaration, to please compilers.
1179
1180 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1181
1182         Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
1183         $(FLAGS) precedence.
1184         * automake.in: Fix registration of languages "Lex", "Lex (C++)",
1185         "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
1186         $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
1187         * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
1188         * NEWS: Updated.
1189
1190         New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
1191         $(AM_FLAGS) and $(FLAGS) precedence.
1192         * tests/lflags.test: New test, check that user $(LFLAGS) takes
1193         precedence over automake (AM_LFLAGS) and (foo_LFLAGS).  Still
1194         xfailing.
1195         * tests/lflags2.test: Likewise.
1196         * tests/yflags.test: New test, check that user $(YFLAGS) takes
1197         precedence over automake (AM_YFLAGS) and (foo_YFLAGS).  Still
1198         xfailing.
1199         * tests/yflags2.test: Likewise.
1200         * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
1201
1202 2010-06-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1203
1204         Modernize, improve and extend tests `suffix*.test'.
1205         * tests/suffix3.test: Enable `errexit' shell flag, and related
1206         changes.
1207         * tests/suffix4.test: Likewise.
1208         * tests/suffix6.test: Likewise, and do not create a useless dummy
1209         source file.
1210         * tests/suffix7.test: Likewise.
1211         * tests/suffix5.test: Enable `errexit' shell flag, and related
1212         changes.  Make grepping of Makefile.in slightly stricter.
1213         * tests/suffix.test: Enable `errexit' shell flag, and related
1214         changes.  Also, do not redirect grep output to /dev/null, as this
1215         might unmotivatedly hide useful information.
1216         * tests/suffix2.test: Move setting of `errexit' shell flag earlier
1217         in the script (just after inclusion of ./defs).  Use a more
1218         idiomatic way to count text occurrences in Makefile.in with
1219         grep.  Do not create useless dummy source files.
1220         * tests/suffix10.test: Ensure verbose printing of captured make
1221         stdout.  Minor cosmetic changes.
1222         * tests/suffix8.test: Likewise.  Also, drop useless call to the
1223         env(1) utility, and make grepping of make output stricter by using
1224         $FGREP rather than plain grep.
1225         * tests/suffix11.test: Likewise.
1226         * tests/suffix12.test: Likewise.
1227         * tests/suffix9.test: Prefer cat + here-doc over echo to append to
1228         the `configure.in' stub.  Cosmetic changes.
1229         * tests/suffix13.test: Cosmetic spacing change.
1230
1231 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
1232
1233         Add useful comment in test script ext.test.
1234         * tests/ext.test: Add a comment explaining why an apparently
1235         useless `if' statement is indeed required.
1236
1237         Add useful comment in test script obsolete.test.
1238         * tests/obsolete.test: Add a comment explaining why we need
1239         an indirection in adding $AUTOUPDATE to $required.
1240
1241         Normalize whitespaces in 'tests/Makefile.am'.
1242         * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
1243         definition of this variable.
1244
1245 2010-06-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1246
1247         Remove a couple of unneeded conditionals from tests.
1248         * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
1249         for the FOOTEST conditional.
1250
1251 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1252
1253         Modernize, improve and/or fix various test scripts.
1254         * tests/symlink3.test: Deleted, separated into two new, more
1255         complete tests ...
1256         * tests/forcemiss.test: ... this one ...
1257         * tests/forcemiss2.test: ... and this one.
1258         * tests/symlink2.test: Enable `errexit' shell flag, make test
1259         stricter, and skip it if symlink creation is not supported.
1260         * tests/postproc.test: Enable `errexit' shell flag, related
1261         changes, and a couple of unrelated cosmetic changes.
1262         * tests/recurs.test: Use the `configure.in' stub created by
1263         `./defs', rather than writing one from scratch.  Make grepping
1264         of Automake stderr slightly stricter.
1265         * tests/substtarg.test: Likewise.
1266         * tests/strip.test: Likewise, and move the call to `set -e'
1267         earlier (just after the inclusion of `./defs'). Also, make sure
1268         that the script installed by `make install-script' is equal to
1269         the original one.
1270         * tests/substref.test: Use the `configure.in' stub created by
1271         `./defs', rather than writing one from scratch.  Move the call
1272         to `set -e' earlier (just after the inclusion of `./defs').
1273         Avoid to explicitly export CC for configure (that's already done
1274         in ./defs).  Avoid potential problems with unpredictable make
1275         output.  Finally, make grepping of Makefile.in stricter.
1276         * tests/substre2.test: Ensure verbose printing of the captured
1277         make's output, and make its grepping slightly stricter.
1278         * tests/cygwin32.test: Enable `errexit' shell flag, and related
1279         changes.  Also, do not create useless dummy source/data files.
1280         * tests/scripts.test: Likewise.
1281         * tests/recurs2.test: Likewise.  Also, use the `configure.in'
1282         stub created by `./defs'.
1283         * tests/Makefile.am (TESTS): Updated.
1284
1285         Modernize, improve and/or fix tests `pluseq*.test.
1286         * tests/pluseq5.test: Append to configure.in using cat with an
1287         here-doc, not using echo.
1288         * tests/pluseq10.test: Make sure that the captured output of
1289         `make' command is always displayed. Where possible, use $FGREP
1290         instead of grep (this change makes some checks slightly stricter).
1291         * tests/pluseq8.test: Enable `errexit' shell flag, with related
1292         changes.
1293         * tests/pluseq.test: Likewise.  Also, do not create useless dummy
1294         data files, and use better m4 quoting in generated configure.in.
1295         * tests/pluseq2.test: Likewise.  Also, append to configure.in
1296         using cat with an here-doc, not using echo.
1297         * tests/pluseq3.test: Likewise.
1298         * tests/pluseq4.test: Likewise.
1299         * tests/pluseq6.test: Likewise.
1300         * tests/pluseq7.test: Do not create useless dummy source file.
1301         * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
1302         Automake stderr.  Some unrelated cosmetic changes.
1303
1304         Testsuite: ensure verbose printing of captured stderr.
1305         * tests/acloca18.test: Print captured stderr before either failing
1306         or grepping it.  Be sure to send captured stderr to stderr, not to
1307         stdout.
1308         * tests/ansi3b.test: Likewise.
1309         * tests/cond39.test: Likewise.
1310         * tests/configure.test: Likewise.
1311         * tests/missing3.test: Likewise.
1312         * tests/missing6.test: Likewise.
1313         * tests/output-order.test: Likewise.
1314         * tests/pr300-ltlib.test: Likewise.
1315         * tests/python6.test: Likewise.
1316         * tests/python7.test: Likewise.
1317         * tests/python8.test: Likewise.
1318         * tests/python9.test: Likewise.
1319         * tests/subobj.test: Likewise.
1320         * tests/vars3.test: Likewise.
1321         * tests/missing4.test: Likewise, and fix a call to grep not to use
1322         the `-c' flag.
1323         * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
1324         created by `./defs', rather than writing one from scratch.
1325
1326         Enable `errexit' shell flag in various tests.
1327         * tests/backsl.test: Enable the `errexit' shell flag, and
1328         related changes.
1329         * tests/backsl2.test: Likewise.
1330         * tests/block.test: Likewise.
1331         * tests/canon2.test: Likewise.
1332         * tests/canon4.test: Likewise.
1333         * tests/comment2.test: Likewise.
1334         * tests/condlib.test: Likewise.
1335         * tests/cond15.test: Likewise, and prefer $FGREP over grep.
1336         * tests/canon3.test: Likewise.  Also, avoid to create an useless
1337         dummy source file.
1338         * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
1339         related changes.  Do some cosmetic improvements in the generated
1340         `configure.in' file.
1341         * tests/cond4.test: Likewise.
1342         * tests/cond14.test: Likewise.
1343         * tests/condinc.test: Likewise.
1344         * tests/cond7.test: Likewise.  Also, remove useless setting of
1345         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
1346         * tests/ansi.test: Enable the `errexit' shell flag, and related
1347         changes.  Extended, esp. by running autoconf, ./configure and
1348         make, and by looking into the distdir.
1349
1350 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1351             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1352
1353         Extend tests/README w.r.t. trailing `:' in test scripts.
1354         * tests/README (section "Writing test cases" subsection "Do"):
1355         Explain why apparently redundant trailing `:' and `Exit 0' in
1356         test scripts can indeed be useful.
1357
1358 2010-06-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
1359
1360         Improve determination of PATH separator in bootstrap script.
1361         * bootstrap: Determine what the PATH separator is the same way
1362         autoconf does.
1363
1364         Minor improvements in bootstrap script.
1365         * bootstrap: Consistently use two-spaces indentation.  Cosmetic
1366         improvement to comments.
1367         ($me): New variable, containing program basename.
1368         Prepend it to all error messages.
1369
1370         Testsuite now works with BSD make in parallel mode.
1371         * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
1372         which are exported by BSD make when run in parallel mode, and
1373         which can confuse make processes spawned by our testsuite.
1374         This change fixes a lot of spurious failure when the testsuite
1375         is run with BSD make in parallel mode.
1376
1377 2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
1378
1379         Modernize, improve and/or fix various test scripts.
1380         * tests/sanity.test: Rely on the `configure.in' stub created by
1381         `./defs', rather than writing one from scratch.
1382         * tests/depend2.test: Likewise.  Also, call `set -e' just after
1383         the inclusion of `./defs', instead that later in the script.
1384         * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
1385         $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
1386         * tests/exeext4.test: Use $FGREP instead of grep, where possible.
1387         Make auxiliary rules in the generated Makefile more silent.
1388         These changes make some checks slightly stricter.
1389         * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
1390         * tests/gettext2.test: Place final `:' at the end of the script,
1391         rather than in the middle.
1392         * tests/exeext.test: Call `set -e' just after the inclusion of
1393         `./defs', instead that later in the script.
1394         * tests/extra5.test: Likewise.
1395         * tests/confdeps.test: Likewise.  Also, prefer `mv -f' over
1396         plain `mv', just to be sure.
1397         * tests/depcomp.test: Enable `errexit' shell flag, with related
1398         changes.  Also, modernize the generated configure.in.
1399         * tests/cond9.test: Likewise.  Also, rely on the `configure.in'
1400         stub created by `./defs', rather than writing one from scratch.
1401         * tests/cond10.test: Likewise.
1402         * tests/depcomp2.test: Likewise.
1403         * tests/depend3.test: Likewise.
1404         * tests/distcom7.test: Likewise.
1405         * tests/fortdep.test: Likewise.  Also, remove definition of
1406         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
1407         since that flag is already provided by $AUTOMAKE.
1408         * tests/mdate.test: Made stricter, by checking that Automake
1409         actually failed, and by making a stricter grep on the error
1410         message.  Also, set shell `errexit flag'.
1411         * tests/python2.test: Improved verbose messages.
1412
1413         Make test `ammissing.test' stricter.
1414         * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
1415         Enable `errexit' shell flag.
1416
1417 2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1418
1419         Enable `errexit' shell flag in some test scripts.
1420         * tests/subcond.test: Enabled `errexit' shell flag, and related
1421         minor changes.
1422         * tests/subst.test: Likewise.
1423         * tests/vars.test: Likewise.
1424         * tests/version4.test: Likewise.
1425         * tests/vpath.test: Likewise.
1426         * tests/vtexi2.test: Likewise.
1427         * tests/werror.test: Likewise.
1428         * tests/whoami.test: Likewise.
1429         * tests/tags.test: Likewise, and avoid to crate an useless dummy
1430         header file.
1431         * tests/acsilent.test: Likewise, and don't use an easily-avoided
1432         command substitution.
1433         * tests/unused.test: Likewise, and don't use an easily-avoided
1434         command substitution.
1435         * tests/version.test: Likewise, and avoid deprecated constructs
1436         in the generated `configure.in'.
1437         * tests/version2.test: Likewise, and avoid deprecated constructs
1438         in the generated `configure.in'.
1439
1440 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1441
1442         Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
1443         * tests/ldadd.test: Enable errexit.  Use AUTOMAKE_fails so
1444         the verbose log contains all output.
1445         * tests/mdate.test: Likewise.
1446         Prompted by Stefano Lattarini's change to discover.test.
1447
1448 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1449
1450         Improve tests link*.test (enable `errexit' shell flag).
1451         * tests/link_c_cxx.test: Enable `errexit shell flag, and related
1452         changes.  Also, do not create useless source files.
1453         * tests/link_dist.test: Likewise.
1454         * tests/link_f90_only.test: Likewise.
1455         * tests/link_f_only.test: Likewise.
1456         * tests/link_fc.test: Likewise.
1457         * tests/link_fccxx.test: Likewise.
1458         * tests/link_fcxx.test: Likewise.
1459
1460 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1461
1462         Improve ext.test semantics, avoid OpenBSD sh errexit issue.
1463         * tests/ext.test: Inside shell compound command, use
1464         `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
1465         fix failure with OpenBSD sh introduced with last patch.
1466         Actually ensure that a rule for .EXT.o is created for each
1467         known extension EXT.
1468
1469 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1470
1471         Enable `errexit' shell flag in some test scripts.
1472         * tests/dash.test: Enable `errexit' shell flag, and related
1473         changes.
1474         * tests/defun.test: Likewise.
1475         * tests/defun2.test: Likewise.
1476         * tests/dejagnu.test: Likewise.
1477         * tests/double.test: Likewise.
1478         * tests/distcom2.test: Likewise.
1479         * tests/empty2.test: Likewise.
1480         * tests/empty3.test: Likewise.
1481         * tests/empty4.test: Likewise.
1482         * tests/exdir.test: Likewise.
1483         * tests/ext.test: Likewise.
1484         * tests/extra.test: Likewise.
1485         * tests/extra2.test: Likewise.
1486         * tests/extra3.test: Likewise.
1487         * tests/extra4.test: Likewise.
1488         * tests/flibs.test: Likewise.
1489         * tests/fnoc.test: Likewise.
1490         * tests/fo.test: Likewise.
1491         * tests/instexec.test: Likewise.
1492         * tests/ltdeps.test: Likewise.
1493         * tests/nodep.test: Likewise.
1494         * tests/nodepcomp.test: Likewise.
1495         * tests/f90only.test: Likewise, and remove botched/obsoleted
1496         comments and unnecessary commands.
1497         * tests/fonly.test: Likewise, and remove botched/obsoleted
1498         comments and unnecessary commands.
1499         * tests/discover.test: Likewise, and made stricter.
1500
1501         Enable `errexit' shell flag in all tests cxx*.test.
1502         * tests/cxx.test: Enabled `errexit' shell flag, and related
1503         minor changes.
1504         * tests/cxxansi.test: Likewise.
1505         * tests/cxxcpp.test: Likewise.
1506         * tests/cxxlibobj.test: Likewise.
1507         * tests/cxxlink.test: Likewise.
1508         * tests/cxxo.test: Likewise.
1509
1510         Enable `errexit' shell flag in various tests.
1511         * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
1512         minor changes.
1513         * tests/acoutpt.test: Likewise.
1514         * tests/acoutqnl.test: Likewise.
1515         * tests/amassign.test: Likewise.
1516         * tests/ansi2.test: Likewise.
1517         * tests/ansi4.test: Likewise.
1518         * tests/badprog.test: Likewise.
1519         * tests/checkall.test: Likewise.
1520         * tests/clean.test: Likewise.
1521         * tests/colneq2.test: Likewise.
1522         * tests/colon.test: Likewise.
1523         * tests/colon5.test: Likewise.
1524         * tests/colon6.test: Likewise.
1525         * tests/comment.test: Likewise.
1526         * tests/compile_f90_c_cxx.test: Likewise.
1527         * tests/compile_f_c_cxx.test: Likewise.
1528         * tests/cond3.test: Likewise.
1529         * tests/cond6.test: Likewise.
1530         * tests/cond13.test: Likewise.
1531         * tests/conf2.test: Likewise.
1532         * tests/confvar.test: Likewise.
1533         * tests/confvar2.test: Likewise.
1534         * tests/cond8.test: Likewise, plus a cosmetic change.
1535         * tests/confh4.test: Likewise.  Also, add in the heading comments
1536         an excerpt from the original bug report which motivated the
1537         creation of this test, to make its purpose clearer.
1538
1539 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1540
1541         Rewrite manual to be gender-neutral.
1542         * doc/automake.texi (GNU Build System)
1543         (Standard Directory Variables, General Operation, CVS)
1544         (Hard-Coded Install Paths, Dependencies As Side Effects):
1545         Rewrite text to not contain gender-specific pronouns when
1546         speaking about developers or users, either by avoiding pronouns
1547         or by addressing them as `you' instead.
1548         * THANKS: Update.
1549         Report by Christina Gratorp.
1550
1551         * AUTHORS: Update.
1552
1553 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1554
1555         Make tests on user extensibility of silent-rules mode stricter.
1556         * tests/silent6.test: Made stricter w.r.t. the grepping of the
1557         output produced by `make'.
1558         * tests/silent7.test: Likewise.
1559
1560         Tests on silent-mode for C/Libtool made stricter.
1561         * tests/silent.test: Made stricter w.r.t. the grepping of the
1562         output produced by `make'.
1563         * tests/silent2.test: Likewise.
1564         * tests/silent4.test: Likewise.
1565         * tests/silent9.test: Likewise.
1566         * tests/silent3.test: Likewise, and add a final `make distclean'
1567         command to keep it better in sync with tests/silent{4,9}.test.
1568
1569         Improved test silent5.test.
1570         * tests/silent5.test: Remove by hand all generated C files after
1571         non-verbose builds, to ensure the following builds are clean.
1572         Try to clean and rebuild with the same verbosity and without
1573         removing generated sources in between, to check that this does
1574         not trigger a different set of rules.  Make grepping of make's
1575         output stricter.  Improved/added some comments.
1576
1577         New tests for Automake silent-mode with Fortran.
1578         * tests/silentf77.test: New test.
1579         * tests/silentf90.test: Likewise.
1580         * tests/Makefile.am (TESTS): Updated accordingly.
1581
1582         New test `silentcxx.test' (Automake silent-mode with C++).
1583         * tests/silentcxx.test: New test.
1584         * tests/Makefile.am (TESTS): Updated accordingly.
1585
1586         New test `silentyacc.test' (Automake silent-mode with Yacc).
1587         * tests/silentyacc.test: New test.
1588         * tests/Makefile.am (TESTS): Updated accordingly.
1589
1590         New test `silentlex.test' (Automake silent-mode with Lex).
1591         * tests/silentlex.test: New test.
1592         * tests/Makefile.am (TESTS): Updated accordingly.
1593
1594         Relax tests on silent-rules to cater to overly verbose makes.
1595         * tests/silent.test: When testing silent builds, don't fail if
1596         make's output simply contains the `mv' substring, but only if
1597         it contains the `mv ' substring (note the trailing space).
1598         * tests/silent2.test: Likewise.
1599         * tests/silent3.test: Likewise.
1600         * tests/silent4.test: Likewise.
1601         * tests/silent5.test: Likewise.
1602         * tests/silent9.test: Likewise.
1603
1604 2010-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1605
1606         Fix silent-rules output for disabled dependency tracking.
1607         * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1608         expansion code to also work in the case where %AMDEP% expands
1609         to FALSE at config.status time, using new substitution string
1610         %VERBOSE-NODEP%.
1611         * automake.in (verbose_nodep_flag): New function, appending
1612         `@am__nodep@' to the verbose-variable name.
1613         (handle_languages): If dependencies are not disabled, use it to
1614         set %VERBOSE-NODEP%.
1615         * m4/depend.m4: Substitute am__nodep as '_no', so the second
1616         verbose-variable will always expand to an empty string, if
1617         dependencies are enabled.
1618         * tests/silent5.test: Also test --disable-dependency-tracking;
1619         also test per-target flags for non-C language files.
1620         * tests/silent9.test: New test, like silent4.test but disable
1621         dependency tracking.
1622         * tests/Makefile.am: Adjust.
1623         * NEWS, THANKS: Update.
1624         Report by Dmitry V. Levin <ldv@altlinux.org>.
1625
1626 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1627
1628         Extend test on `nostdinc' automake option.
1629         * tests/nostdinc.test: Enable `errexit' shell flag.  Related and
1630         unrelated minor changes.  Make the grepping of the generated
1631         Makefile.in slightly stricter.  Generate and run configure, so that
1632         the generated Makefile can be grepped too.
1633
1634 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1635
1636         Make gnupload portable to EBCDIC hosts.
1637         * lib/gnupload: Use literal newline as argument for 'tr' rather
1638         than \015, for EBCDIC hosts.  Also, avoid unportable nested
1639         double-quotes and backquotes.
1640         * THANKS: Update.
1641         Report from Eric Blake and Steve Goetze via gnulib.
1642
1643 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1644
1645         Fix Autoconf version required by Automake's configure.
1646         Automake configure script used to tell that automake required
1647         autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
1648         and if that was not found, it gave an error saying that Automake
1649         required configure 2.61a-341 or later.  This change should
1650         eliminate such inconsistencies.
1651         * configure.ac ($required_autoconf_version): New variable.
1652         Use it throughout.
1653
1654 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1655
1656         Fix unportable sed script in maintainer-check test.
1657         * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
1658         not contain semicolon after 'b' or brace commands, for NetBSD.
1659
1660         Wildcards are not portable to NetBSD make.
1661         * doc/automake.texi (Wildcards): Document portability issue.
1662         * tests/extra10.test, tests/extra11.test, tests/extra12.test:
1663         Require GNU make.
1664
1665 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1666
1667         Make test for configure.in vs. configure.ac stricter.
1668         * tests/configure.test: Use a configure.in file that provokes
1669         an automake error, to ensure configure.ac is preferred.
1670
1671         Avoid possible false negatives in dejagnu7.test.
1672         * tests/dejagnu7.test: Enable shell `errexit' flag.  Also, avoid
1673         unportable use of fgrep option `-e'.
1674
1675         Fix conflnk3.test to work with Solaris/Heirloom Sh.
1676         * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
1677         instead of respectively `test -e FILE' and `test ! -e FILE',
1678         since Solaris Sh doesn't grok the latter.  Do not SKIP the test
1679         if the shell doesn't support `test -e'.
1680
1681 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1682
1683         Fix typo in manual.
1684         * doc/automake.texi (Simple Tests using parallel-tests): Add
1685         missing closing parenthesis.
1686
1687         Fix leftover call to removed function macros_dump.
1688         * automake.in (read_main_am_file): Call variables_dump, not
1689         macros_dump.  Print actual error before list of variables.
1690
1691 2010-04-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
1692
1693         Minor improvements in comments of test `silent3.test'.
1694         * tests/silent3.test: Tell to keep it in sync with `silent9.test'
1695         too.
1696
1697 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1698
1699         testsuite: ensure verbose printing of captured output.
1700         * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
1701         tests/fort2.test, tests/help.test, tests/missing3.test,
1702         tests/missing6.test: Print captured stdout or stderr before
1703         grepping it.
1704
1705 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1706
1707         Make test badopt.test stricter (by enabling `set -e').
1708         * tests/badopt.test: Add call to `set -e'.  Due to this change,
1709         an unexpected failure in the call to `$ACLOCAL' (whose outcome
1710         was previously unchecked) would cause the whole test to fail.
1711         Also, bumped the copyright years.
1712
1713         Make test for configure.in vs. configure.ac stricter.
1714         * tests/configure.test: Use a configure.in file that provokes
1715         an automake error, to ensure configure.ac is preferred.
1716
1717         Use `set -e' in confsub.test (avoids possible false negatives).
1718         * tests/confsub.test: Enable shell `errexit' flag, and related
1719         changes (this helps avoiding some possible minor false negatives).
1720         Also, bumped copyright years.
1721
1722 2010-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1723
1724         Fix -Werror handling for presence of configure.in and configure.ac.
1725         * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
1726         $configure_ac at the global level, before command-line arguments
1727         have been parsed.
1728         (require_variables): Initialize it here.
1729         * tests/configure.test: New test.
1730         * tests/Makefile.am: Update.
1731         Report by Stefano Lattarini.
1732
1733 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1734
1735         Avoid possible false negatives in confh5.test.
1736         * tests/confh5.test: Enable shell `errexit' flag, and bumped
1737         copyright years.  Due to this change, any unexpected failure
1738         in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
1739         a failure in grepping expected text in output files should now
1740         cause the whole test to fail.
1741
1742 2010-04-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1743
1744         Fixed typo in POD documentation of Automake::Channels.
1745         * lib/Automake/Channels.pm: Fixed typo in POD documentation:
1746         @<...> was used instead of C<...>.
1747
1748 2010-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
1749
1750         Refactor tests on Automake TESTS color output.
1751         * tests/color.test: Tests using the expect program moved out to...
1752         * tests/color2.test: ... this new file.
1753         * tests/Makefile.am (TESTS): Extended accordingly.
1754
1755 2010-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1756
1757         Fix typos in comments in test confh5.test
1758         * tests/confh5.test: Fix a couple of typos in comments.
1759
1760         Avoid possible false negatives in canon-name.test.
1761         * tests/canon-name.test: Enable shell `errexit' flag.  Improve
1762         test description.
1763
1764 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1765
1766         Fix per-Makefile.am setting of -Werror.
1767         Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
1768         Makefile.am would carry over to other Makefile.am files
1769         treated afterwards by the same thread, causing inconsistent
1770         and unstable exit status values.
1771         * lib/Automake/Channels.pm (dup_channel_setup)
1772         (drop_channel_setup): Save and restore the setting of
1773         $warnings_are_errors.
1774         * tests/werror3.test: New test.
1775         * tests/Makefile.am: Adjust.
1776         * NEWS: Update.
1777
1778 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
1779
1780         Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
1781         * tests/confh5.test: In the generated Makefile.am: do not use
1782         `test ! -e FILE' to check for the non-existence of a file, since
1783         that is not supported by Solaris/Heirloom Sh.
1784
1785         Make test `aclocal3.test' stricter.
1786         * tests/aclocal3.test: Add call to `set -e'.  Fail if $ACLOCAL
1787         succeds unexpectedly.
1788
1789         Add tests checking that symlinks are resolved by `make dist'.
1790         * tests/distlinks.test: New test.
1791         * tests/Makefile.am (TESTS): Updated accordingly.
1792         Suggested by observations from Ralf Wildenhues.
1793
1794 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1795
1796         Use -9 for maximum xz compression with dist-xz.
1797         * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
1798         * NEWS, THANKS: Update.
1799         Report by Pavel Sanda.
1800
1801 2010-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
1802
1803         Avoid an unportable use of `$status' shell variable.
1804         * Makefile.am (path-check): Don't use the `$status' shell variable
1805         in the target's rules, as it's special in Zsh (equivalent to `$?',
1806         and readonly).
1807
1808         Avoid another use of `chmod -R'.
1809         * Makefile.am (path-check): To be safe, do not use `chmod -R' on
1810         $(distdir) before removing it (as Solaris `chmod -R' touches
1811         symlink targets).  Instead, use the cleanup strategy used in
1812         distdir.am.
1813
1814 2010-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1815
1816         Remove uses of @acronym and @sc.
1817         * doc/automake.texi (Public Macros, Limitations on File Names):
1818         Remove all usage of @acronym and @sc in the manual.
1819         Suggested by Karl Berry.
1820
1821 2010-03-13  Karl Berry  <karl@freefriends.org>
1822
1823         GNU hello uses fdl.texi, not gpl.texi.
1824         * doc/automake.texi (Texinfo): Adjust example to upstream
1825         change.
1826
1827 2010-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1828
1829         Formatting cleanups in macro comments.
1830         * automake.in, lib/Automake/Channels.pm,
1831         lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
1832         lib/Automake/Variable.pm, lib/Automake/XFile.pm,
1833         m4/options.m4, m4/substnot.m4: Fix macro comment format.
1834
1835 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1836             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1837
1838         Avoid generation of `tests/defs-p' file.
1839         * tests/defs.in: In the generated `configure.in' snippet: call
1840         `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
1841         variable `parallel_tests' is set to `yes'.
1842         * tests/Makefile.am (defs-p): Target removed.
1843         (check_SCRIPTS): Removed `defs-p'.
1844         (clean-local-check): Do not unlink `defs-p' anymore.
1845         ($(parallel_tests)): Transformation rules for the test scripts
1846         adjusted.
1847         * tests/gen-parallel-tests: Selection rules for the test
1848         scripts adjusted.
1849         * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
1850         then include `./defs' (rather than simply including `./defs-p').
1851         * tests/parallel-tests2.test: Likewise.
1852         * tests/parallel-tests3.test: Likewise.
1853         * tests/parallel-tests4.test: Likewise.
1854         * tests/parallel-tests5.test: Likewise.
1855         * tests/parallel-tests6.test: Likewise.
1856         * tests/parallel-tests7.test: Likewise.
1857         * tests/parallel-tests8.test: Likewise.
1858         * tests/parallel-tests9.test: Likewise.
1859         * tests/parallel-tests10.test: Likewise.
1860         * tests/README (Section "Writing Test Cases" subsection "Do"):
1861         Adjusted the parts referring to tests checking `parallel-tests'
1862         behaviour.  Some other minor related improvements.
1863         * tests/.gitignore (defs-p): Removed.
1864
1865 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1866
1867         Remove redundant unset of variable TESTS from some test scripts.
1868         * tests/color.test: Do not unset the `TESTS' variable, as it's
1869         already unset in the `defs' file.
1870         * tests/check5.test: Likewise.
1871         * tests/check8.test: Likewise.
1872         * tests/check9.test: Likewise.
1873         * tests/check10.test: Likewise.
1874         * tests/check11.test: Likewise.
1875         * tests/parallel-tests.test: Likewise.
1876         * tests/parallel-tests3.test: Likewise.
1877         * tests/parallel-tests4.test: Likewise.
1878         * tests/parallel-tests5.test: Likewise.
1879         * tests/parallel-tests6.test: Likewise.
1880         * tests/parallel-tests7.test: Likewise.
1881
1882 2010-02-22  Karl Berry  <karl@gnu.org>
1883
1884         Improve help message of mdate-sh.
1885         * mdate-sh: mention actual output format in help message.
1886
1887 2010-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1888
1889         Deprecate dist-lzma in favor of dist-xz.
1890         * doc/automake.texi (The Types of Distributions, Options):
1891         Adjust text to reflect renaming of lzma to xz.
1892         * NEWS: Update.
1893         Missing deprecation noted by Antonio Diaz Diaz.
1894
1895 2010-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1896
1897         Add tests about support of wildcards in EXTRA_DIST.
1898         * tests/extra10.test: New test, check basic support of wildcards
1899         in EXTRA_DIST.
1900         * tests/extra11.test: New test, check more complex usage of
1901         wildcards in EXTRA_DIST.
1902         * tests/extra12.test: New test, check usage of wildcards in
1903         EXTRA_DIST when $builddir != $srcdir.
1904         * tests/Makefile.am (TESTS): Updated accordingly.
1905         Necessity of these new tests suggested by Braden McDaniel
1906         and Ralf Wildenhues.
1907
1908 2010-02-08  Simon Josefsson  <simon@josefsson.org>
1909
1910         Fix copyright statement in gnupload script.
1911         * lib/gnupload: Fix copyright statement.
1912
1913 2010-02-06  Dmitry V. Levin  <ldv@altlinux.org>  (tiny change)
1914             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1915
1916         Fix exit status of signal handlers in shell scripts.
1917         The value of `$?' on entrance to signal handlers in shell scripts
1918         cannot be relied upon, so set the exit code explicitly to
1919         128 + SIG<SIGNAL>.
1920         * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
1921         * lib/elisp-comp: Likewise.
1922         * lib/install-sh: Likewise.
1923         * lib/ylwrap: Likewise.  Also, fix script to trap signal 13, not 3.
1924         * NEWS, THANKS: Update.
1925         Bug report, analysis, and initial patch by Dmitry V. Levin.
1926
1927 2010-02-06  Karl Berry  <karl@gnu.org>
1928
1929         Improve gnupload usage text.
1930         * gnupload (usage): Shorten to make more likely to fit on a tty
1931         line.  Mention CMD in the synopsis.  With ..., plural is implied.
1932
1933 2010-01-28  Christos Kontas  <xakon@yahoo.com>  (tiny change)
1934
1935         Fix some typos in the manual
1936         * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
1937
1938 2010-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1939
1940         Slighty improve tests acoutbs.test and acoutbs2.test.
1941         * tests/acoutbs2.test: Enable `errexit' shell flag.  Check that
1942         autoconf and configure work, that the file `zot' is created by
1943         configure, and that no file containing a backslash in its name is
1944         created.
1945         * tests/acoutbs.test: Likewise, plus updated copyright years.
1946
1947         Fix test acoutbs2.test.
1948         * tests/acoutbs2: In the generated configure.in: add proper calls
1949         to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
1950         PACKAGE and VERSION. Add a call to aclocal before calling automake.
1951         Updated copyright years.
1952         * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
1953
1954         Add forgotten test scripts to $(TESTS).
1955         * tests/Makefile.am (TESTS): Added test scripts present on the
1956         filesystem, which were erroneously left out from $(TESTS):
1957         acoutbs2.test, badopt.test, extra2.test.
1958         (XFAIL_TESTS): Added acoutbs2.test.
1959
1960 2010-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1961
1962         Sync auxiliary files from upstream.
1963         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
1964         Sync from upstream.
1965
1966         Bump copyright years.
1967         * aclocal.in (write_aclocal, version): Bump copyright years.
1968         * automake.in (gen_copyright, version): Likewise.
1969         * doc/automake.texi: Likewise.
1970
1971         Rotate ChangeLog.
1972         * ChangeLog.09: New file, rotated from ...
1973         * ChangeLog: ... here.
1974         * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
1975
1976 -----
1977
1978 Copyright (C) 2010  Free Software Foundation, Inc.
1979
1980 Copying and distribution of this file, with or without modification, are
1981 permitted provided the copyright notice and this notice are preserved.
1982
1983 ;; Variables:
1984 ;; coding: utf-8
1985 ;; End: