1 2008-12-29 Chris Pickett <chris.pickett@mail.mcgill.ca> (tiny change)
3 * doc/automake.texi (LIBOBJS): Clarify overriding of
7 2008-12-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9 Revamp semantics for `missing help2man' and manpage distribution.
10 Previously, `missing help2man' would create a missing man page
11 containing an error message, and exit 1. This does not play
12 well with `make': the next run will see this particular man page
13 as being up to date, and will only error out on the next
14 generated man page, if any; repeat until all pages are done.
15 This patch changes `missing' to exit successfully in this case,
16 but `make dist' will ensure that no such man pages are packaged.
17 * lib/missing: Exit successfully even if we create a replacement
18 page due to missing help2man.
19 * automake.in (make_paragraphs): Define %HAVE-MANS% to be true
20 if this makefile deals with man pages.
21 * lib/am/distdir.am (distdir): If %INSTALL-MAN% and %HAVE-MANS%,
22 check that no man page in $(MANS) contains the replacement text
24 * tests/man4.test: New test.
25 * tests/Makefile.am: Update.
26 * NEWS: Reorder a bit, update.
28 Report by Werner Lemberg and Karl Berry.
30 Do not use 'global' for makefile-wide settings.
31 * doc/automake.texi (Linking, Libtool Flags)
32 (Program and Library Variables, Flag Variables Ordering):
33 Reword instances of `global variables' that really mean
36 Report by Andreas Bergmeier.
38 Fix config.status depfiles failure.
39 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Commands are
40 again a single shell brace group, so they are correctly skipped
41 when dependencies are turned off. The failure is noisy with
43 * tests/depend6.test: New test.
44 * tests/Makefile.am: Adjust.
46 Report and different suggested patch by Markus Duft.
48 2008-12-21 Zoltan Rado <z.rado@chello.hu> (tiny change)
50 * doc/automake.texi (DESTDIR): Fix a couple of typos.
53 2008-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
55 Fix nonportable sed script in 'missing'.
56 * lib/missing: In sed script, do not use ';' after 't' commands.
58 2008-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
61 * doc/automake.texi (amhello Explained)
62 (Mixing Fortran 77 With C and C++): Fix broken links to
64 Report by Michael Ploujnikov.
66 2008-12-07 Michael Ploujnikov <ploujj@gmail.com> (tiny change)
68 * doc/automake.texi (Optional, Future of aclocal): Various
69 spelling and grammar fixes.
72 2008-12-03 William Pursell <bill.pursell@gmail.com>
74 Simple typographical and grammar errors in automake.texi.
75 * doc/automake.texi: Fix object/article consistency (eg "an
76 flag" becomes "a flag"), correct minor punctuation errors, etc.
78 * doc/automake.texi (Auxiliary Programs, Python, Rebuilding):
79 Replace 'configure' with '@command{configure}' as appropriate.
81 2008-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
84 * Makefile.am (cvs-diff): Remove.
85 (git-dist): Do not use clcommit any more. Use new-style tag
86 name. Pass $(AM_MAKEFLAGS) to $(MAKE).
88 (git-release): Do not upload to sources.redhat.com.
90 2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
92 Fix portability issues in distcleancheck_listfiles doc example.
93 * doc/automake.texi (Dist): In the `distcleancheck_listfiles'
94 code example, add `.' path, for Solaris `find', also rewrite so
95 `{}' appears only once and as separate argument, for Posix.
96 * tests/distcleancheck.test: New test.
97 * tests/Makefile.am: Update.
99 Report by Jan Engelhardt and Andreas Schwab.
101 2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
102 Jim Meyering <jim@meyering.net>
104 Cope with whitespace in $MISSING and $install_sh.
105 * configure.ac (am_AUTOHEADER): New substitution, save the value
106 of $AUTOHEADER before AM_INIT_AUTOMAKE may add $MISSING.
107 * tests/defs.in: Use am_AUTOHEADER.
108 * lib/am/install.am: Fix typo.
109 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): Add suitable
110 single-quote quoting to install_sh, but only if needed.
111 * m4/missing.m4 (AM_MISSING_HAS_RUN): Add suitable double-quote
112 quoting to MISSING, but only if needed.
113 * m4/sanity.m4 (AM_SANITY_CHECK): Abort configure if `pwd` or
114 $srcdir contain shell meta-characters that cannot be handled;
115 space and tab are allowed in the former only.
116 * tests/sanity.test: New test.
117 * tests/Makefile.am: Adjust.
119 Reports by Jim Meyering and others.
121 2008-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
123 Let `missing' also work with versioned and prefixed programs.
124 * lib/missing: Ignore prefixes of `gnu-', `gnu', and `g' when
125 testing for known programs; also, ignore suffixes.
126 * tests/missing.test: Amend test.
127 * NEWS, THANKS: Update.
130 2008-11-23 William Pursell <bill.pursell@gmail.com>
132 * doc/automake.texi (Macro search path, Extending aclocal)
133 (Local Macros, Serials, Public macros, Directories)
134 (Conditional Subdirectories, Nesting Packages)
135 (Building a program, Libtool Modules)
136 (Program and Library Variables, Default _SOURCES, LIBOBJS):
137 Correct verb/object tense agreement, swap some words,
138 and general trivial cleanup.
140 2008-11-22 William Pursell <bill.pursell@gmail.com>
141 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
143 * doc/automake.texi (VPATH Builds, Nested Packages)
144 (Length limitations, Auxiliary Programs, Invoking Automake)
145 (Requirements, Optional): Fix typos and grammaros, correct URL
146 to 'config' source repository. Rewrite description of AC_SUBST.
147 (true): Cross-reference to `Default _SOURCES' node.
149 2008-11-22 William Pursell <bill.pursell@gmail.com>
151 * configure.ac: Quote APIVERSION.
153 2008-11-22 Jim Meyering <meyering@redhat.com>
155 * tests/xz.test: Fix typo introduced by Ralf in last patch.
157 Add xz compression support.
158 * NEWS: Mention xz as well as lzma (xz will displace lzma).
159 * automake.in (handle_dist): Recognize dist-xz.
160 (make_paragraphs): Map XZ to dist-xz.
161 * doc/automake.texi (Dist): Add dist-xz.
163 * lib/Automake/Options.pm (_process_option_list): Accept
165 * lib/am/distdir.am (dist-xz): New rule.
166 (dist dist-all): Add command to create an xz-compressed tarball.
167 (distcheck): Handle xz-compressed tarballs just like the others.
168 * tests/xz.test: New file, based on nogzip.test.
169 * tests/Makefile.am (TESTS): Add xz.test.
171 2008-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
173 When installing COPYING, recommend adding the file to VCS.
174 * automake.in (require_file_internal): If installing `COPYING',
175 mention that we install the GPLv3 file and recommend adding the
176 file to version control.
177 * doc/automake.texi (Invoking Automake): Point to `Gnits' node
179 (Gnits): Clarify semantics: that for strictness gnu or higher,
180 INSTALL is installed, and that COPYING is installed as GPLv3
181 if no COPYING file exists.
182 * tests/license2.test: New test.
183 * tests/Makefile.am: Update.
184 * NEWS, THANKS: Update.
185 Report by Brian Cameron.
187 2008-11-20 William Pursell <bill.pursell@gmail.com>
189 * doc/automake.texi (Timeline): Fix typos and grammaros.
191 2008-11-12 Karl Berry <karl@freefriends.org>
193 New gnupload option --delete to remove archive files.
194 * lib/gnupload: Accept --delete to remove files from
195 alpha.gnu.org or ftp.gnu.org.
197 2008-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
199 Testsuite fixes for ksh.
200 * tests/check10.test: Add ':' as last command in subshell, for
201 zero exit status of the subshell.
202 * tests/parallel-am.test: Do not let failing 'unset' of
203 nonexistent variable exit the test.
204 * tests/parallel-am2.test: Likewise.
205 * tests/parallel-am3.test: Likewise.
207 2008-11-11 Charles Wilson <libtool@cwilson.fastmail.fm> (tiny change)
208 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
210 Cleanup config.lt in case LT_OUTPUT is in use.
211 * lib/am/libtool.am [TOPDIR_P] (distclean-libtool): clean up
212 config.lt as well as libtool.
213 * tests/libtoo11.test: New test.
214 * tests/Makefile.am: Update.
217 2008-11-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
219 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
220 lib/texinfo.tex: Sync from upstream.
222 2008-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
225 * doc/fdl.texi: Update to GFDL 1.3.
226 * doc/automake.texi (GNU Free Documentation License): Adjust.
230 * automake.in: Fix typos in comments. Remove extraneous
233 2008-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
235 Cope with absent Perl modules threads and Thread::Queue.
236 * automake.in: Instead of `use threads', use `require threads;
237 import threads' inside a BEGIN section. Likewise for
239 * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Likewise.
240 * lib/Automake/tests/Condition-t.pl: Likewise.
241 * lib/Automake/tests/DisjConditions-t.pl: Likewise.
242 * configure.ac: Likewise, use `require' and `import'.
243 Report by Eric Blake, fix suggested by Ben Pfaff.
245 2008-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
247 Multiple 'make uninstall' should not fail even for TEXINFOS.
248 * lib/am/texinfos.am (uninstall-info-am): Do not fail due to
249 install-info if the installed file does not exist (any more).
250 * tests/txinfo26.test: Issue multiple `make uninstall'.
251 * tests/instmany-mans.test: Likewise.
252 * tests/instmany-python.test: Likewise.
253 * tests/instmany.test: Likewise.
254 * tests/txinfo26.test: Likewise.
257 2008-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
259 New public macro AM_SUBST_NOTMAKE.
260 * m4/substnot.m4 (AM_SUBST_NOTMAKE): New public macro; invoke
261 _AM_SUBST_NOTMAKE with arguments.
262 * doc/automake.texi (Optional): Document it.
264 * tests/subst4.test: New test.
265 * tests/Makefile.am: Update.
266 Suggestion by Bruno Haible.
268 Fix regression introduced by AM_DEFAULT_SOURCE_EXT.
269 * automake.in (handle_source_transform): Use the right variable
270 when determining whether to apply the old rule for the libtool
271 library default source name.
272 Testsuite failure exposed by Bob Proulx' build daemon.
274 2008-11-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
276 New maintainer target release-stats.
277 * Makefile.am (release-stats): New target, to help computing the
278 entries in the statistics table in automake.texi.
279 * doc/automake.texi (Releases): Reformat a bit. Add number of
280 generated files. Add entry for 1.10.1.
282 Choose default source extension: AM_DEFAULT_SOURCE_EXT.
283 * automake.in (handle_source_transform): Accept unconditional
284 literal extension in AM_DEFAULT_SOURCE_EXT as override for the
285 default source extension `.c'. If set, ignore the old default
286 source rule for libtool libraries.
287 * doc/automake.texi (Default _SOURCES): Document this.
289 * tests/specflg10.test: New test.
290 * tests/Makefile.am: Update.
291 Suggestion by Akim Demaille.
293 Fix maintainer-check failure.
294 * tests/parallel-am.test: Rename variable to not match pattern
295 used in maintainer-check.
297 2008-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
300 Spotted by Jim Meyering.
302 2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
304 Parallel automake --add-missing: serialized file installs.
305 * automake.in (QUEUE_CONF_FILE, QUEUE_LOCATION, QUEUE_STRING):
306 New serialization keys.
307 ($required_conf_file_queue): New file global.
308 (queue_required_conf_file, require_queued_conf_file): New
309 functions, to queue and dequeue requirements for aux dir files.
310 (require_conf_file): Enqueue if needed.
311 (get_number_of_threads): Can do threads with --add-missing now.
312 (handle_makefiles_threaded): Let worker threads enqueue, let
313 master attend to queued requirements at the right time.
314 * tests/parallel-am.test: Explain the purpose of the include
316 * tests/parallel-am2.test: Also cope with --add-missing.
317 * tests/parallel-am3.test: New test, test absence of races with
318 concurrent same-file installs stemming from --add-missing.
319 * tests/Makefile.am: Adjust.
321 Implement serialization for Locations.
322 * lib/Automake/Location.pm (serialize, deserialize): New
323 functions. They allows to serialize a Location in an array, and
324 to restore a Location from a thread queue. The API is
325 unsymmetric (array vs. queue) because enqueuing data needs to
328 Parallel automake: ordered output messages.
329 * lib/Automake/Channels.pm (%_default_options): New options
330 `ordered' default enabled, `queue', default zero (no queue),
331 `queue_key' default undefined.
332 (_merge_options): Ensure `ordered' channels cannot have fatal
333 messages or backtrace output.
334 (_enqueue, _dequeue): New functions, to push messages onto a
335 Thread::Queue, and output messages from such a queue, suitably
336 weeded for duplicates in the same manner as _print_message.
337 (_print_message): If the channel is ordered and has an
338 associated queue, then enqueue messages instead of printing
340 (setup_channel_queue, pop_channel_queue): New functions,
341 to set a Thread::Queue for channels, and to flush a queue.
342 * lib/Automake/ChannelDefs.pm: Unset channel option `ordered'
343 for fatal, automake, and verb channels.
344 * automake.in (QUEUE_MESSAGE): New global constant, used as
346 (handle_makefiles_threaded): Create message queues for each
347 input file; workers queue messages, and the master outputs them
348 ordered, using the new Channels.pm functions.
349 * tests/parallel-am.test: Also check for ordered output (in the
350 absence of --add-missing races).
351 * tests/parallel-am2.test: New test; check for ordered output of
352 warning and (regular) error messages.
353 * tests/Makefile.am: Adjust.
355 Parallel automake execution: AUTOMAKE_JOBS.
356 * lib/Automake/Config.in (perl_threads): New global.
357 * automake.in: Use it. If the perl supports interpreter-based
358 threading, then use `threads' and `Thread::Queue'.
359 (handle_makefile, handle_makefiles_serial): New functions,
360 factored out from main.
361 (get_number_of_threads): New function, compute number of threads
362 to use, based on environment variable `AUTOMAKE_JOBS' and number
363 of independent makefiles.
364 (handle_makefiles_threaded): New function. Spawn threads, use
365 thread queue to distribute handling the different makefiles.
366 Collect $exit_code values from threads.
367 (main): Use new functions.
368 * aclocal.in: No threads here.
369 * configure.ac: Substitute PERL_THREADS; enabled with perl >=
370 5.7.2 and when ithreads are available.
371 * bootstrap (dosubst): Likewise.
372 * Makefile.am (do_subst): Likewise.
373 * lib/Automake/Makefile.am (do_subst): Likewise.
374 * lib/Automake/ChannelDefs.pm: Use `Automake::Config' and
376 (verb): Prepend thread ID (tid) to verbose messages.
377 * lib/Automake/Channels.pm (msg): Before exiting, flush stderr,
378 needed for worker threads.
379 * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Also
380 include the build tree path, so Config.pm is found.
381 * tests/parallel-am.test: New test.
382 * tests/Makefile.am: Update.
383 * doc/automake.texi (Invoking Automake): Document AUTOMAKE_JOBS.
384 * NEWS, THANKS: Update.
385 Report about long execution times by Joakim Tjernlund and others.
387 2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
389 Minor file checking optimization: set_dir_cache_file.
390 * lib/Automake/FileUtils.pm (set_dir_cache_file): New function.
391 * automake.in (require_file_internal): Instead of resetting the
392 cache when a file has been installed, simply correct the cache
393 using set_dir_cache_file.
395 No uniquifying for fatal, prog_error, and verbose messages.
396 There is no point in dropping critical messages, even if they
397 are duplicates (unlikely to happen unless they have been sent
398 as non-critical messages before), and verbose messages should
399 enable to show progress, even using duplicate statements.
400 * lib/Automake/ChannelDefs.pm (fatal, automake, verb): Set
401 `uniq_part' to `UP_NONE' when registering these channels.
403 Fix 'config.status --file=... depfiles' with new Autoconf.
404 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Eval
405 $CONFIG_STATUS contents if we detect the quoting used by
406 Autoconf 2.62 and newer for --file=.
407 * tests/depend5.test: New test.
408 * tests/Makefile.am: Update.
409 * NEWS, THANKS: Update.
410 Report by Sam Steingold against gnulib.
412 2008-10-26 Johan Dahlin <jdahlin@async.com.br>
414 Support for Python 3.0, drop support for pre-2.0.
415 * lib/py-compile: Do not import string; use sys.stdout.write
416 instead of print, files.split instead of string.split.
417 * m4/python.m4 (AM_PATH_PYTHON): Also look for python3 and
418 phython3.0; do not look for python1.5. Use sys.stdout.write.
419 (AM_PYTHON_CHECK_VERSION): Do not use string; adjust to xrange
420 removal in Python 3.0, and changed semantics of map.
421 * doc/automake.texi (Python, Hard-Coded Install Paths): Update
422 Python versions mentioned in the manual, using 2.5 everywhere.
423 * NEWS, THANKS: Update.
425 2008-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
427 * lib/Automake/Channels.pm (@chain): Drop unused variable.
429 Cleanup of per-input global variables in automake.in.
430 * automake.in ($output_vars, $output_all, $output_header)
431 ($output_rules, $output_trailer): Fix comment, and sort
432 declarations in the order they will appear in the output.
433 ($all_target): Unused variable, remove.
434 (Variables not reset by &initialize_per_input.): New section,
435 clarify that %am_file_cache is not reset.
436 (initialize_per_input): Reset $am_file_name, $am_relative_dir,
437 $in_file_name, $relative_dir, and $topsrcdir to `undef' rather
438 than the empty string; $topsrcdir was not reset at all. Sort
439 remaining variables in the same order as in the section
440 `Variables reset by &initialize_per_input'.
442 Let stderr output end up on fd 2 in testsuite.
443 * tests/defs.in (AUTOMAKE_run): Output recorded stderr on file
445 * tests/getopt.test: Fix erroneous multiple redirection,
446 uncovered by above change.
448 2008-10-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
450 Fix DisjConditions module to be thread-safe for perl >= 5.7.2.
451 Self-hashes of blessed references are not correctly transported
452 through thread creation. This patch fixes that by recreating
453 the hashes upon thread creation with a CLONE special subroutine,
454 which is automatically invoked by new enough Perl versions.
455 * lib/Automake/DisjConditions.pm (CLONE): New special
456 subroutine to fix self hashes upon thread creation.
457 * lib/Automake/tests/Condition-t.pl: New, sister test to
458 Condition.pl, but spawns a new threads after each creation of a
459 new condition; skip test if perl is too old or ithreads are not
461 * lib/Automake/tests/DisjConditions-t.pl: Likewise.
462 * lib/Automake/tests/Makefile.am (TESTS): Add them.
464 2008-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
467 * automake.in (require_file_internal): Fix typos in comments.
468 * m4/amversion.in: Likewise.
469 * lib/Automake/Variable.pm: Likewise.
470 * lib/Automake/XFile.pm: Likewise.
472 Diagnose unsupported uses of `backname' helper function.
473 * automake.in (backname): Error out if the path points outside
474 the directory it started in.
476 2008-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
478 Nicer 'make dist' output.
479 * lib/am/distdir.am (distdir): Hide the complex script
480 used for computing the relative subdirs; echo the sub-make
483 2008-10-12 William Pursell <bill.pursell@gmail.com> (tiny patch)
485 * tests/defs.in: Fix comment typo.
487 2008-10-12 William Pursell <bill.pursell@gmail.com>
488 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
490 Fix grammar w.r.t. plurals in test reports.
491 * lib/am/check.am: Fix singular/plural forms in test reports.
492 * tests/check10.test: New test.
493 * tests/Makefile.am: Update.
495 2008-10-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
497 Require texi2dvi in tests, makeinfo may not be enough.
498 * tests/txinfo16.test: RHEL 5.2 has makeinfo and texi2dvi in
499 separate packages, so also list the latter as required, as the
500 test generates DVI and/or PDF output (through distcheck).
501 * tests/txinfo18.test: Likewise.
502 * tests/txinfo21.test: Likewise.
503 * tests/txinfo22.test: Likewise.
504 * tests/txinfo3.test: Likewise.
505 * tests/version7.test: Likewise.
507 Report by Alexander Martens.
509 Fix bootstrap to remove read-only directories right.
510 * bootstrap: Remove automake-$APIVERSION correctly.
512 2008-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
514 Improve test coverage of current TESTS semantics.
515 * tests/check8.test: New test, for subdir tests and setting of
517 * tests/check9.test: New test, check @substituted@ TESTS.
518 * tests/Makefile.am: Update.
520 2008-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
522 * m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue
523 with AIX sh; fixes depcomp6.test failure.
524 * NEWS, THANKS: Update.
525 Report by Rainer Tammer.
527 Print captured output before failing.
528 * tests/acloca14.test, tests/acloca17.test, tests/acloca18.test,
529 tests/aclocal.test, tests/acsilent.test, tests/alpha.test,
530 tests/check4.test, tests/color.test, tests/fn99.test,
531 tests/fn99subdir.test, tests/help.test, tests/init.test,
532 tests/lisp8.test, tests/missing3.test, tests/pr220.test,
533 tests/python11.test, tests/python4.test, tests/python5.test,
534 tests/unused.test, tests/version8.test: When Exit is called
535 after a command that has stdout or stderr redirected to a file
536 for later inspection, output the file before failing the test.
538 Fix some comment typos.
539 * automake.in: Fix some comment typos.
540 * lib/Automake/Condition.pm: Likewise.
541 * lib/Automake/DisjConditions.pm: Likewise.
542 * lib/Automake/Variable.pm: Likewise.
543 * lib/Automake/tests/DisjConditions.pl: Likewise.
545 2008-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
547 * tests/aclibobj.test: Fix race condition.
549 2008-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
551 Fix man page creation without installed files.
552 * doc/Makefile.am (update_mans): Use wrappers in tests/
554 ($(srcdir)/aclocal-$(APIVERSION).1): Use versioned wrapper as
555 input program to help2man.
556 ($(srcdir)/automake-$(APIVERSION).1): Likewise.
557 Report by Eric Blake.
559 2008-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
561 Remove unneeded per-rule *INSTALL variables.
563 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): Remove.
564 (install-%DIR%%PRIMARY%): Adjust.
565 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Remove.
566 (install-%DIR%LIBRARIES): Adjust.
567 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): Remove.
568 (install-%DIR%LTLIBRARIES): Adjust.
569 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): Remove.
570 (install-%DIR%PROGRAMS): Adjust.
571 * lib/am/python.am (%DIR%PYTHON_INSTALL): Remove.
572 (install-%DIR%PYTHON): Adjust.
573 * lib/am/scripts.am (%DIR%SCRIPT_INSTALL): Remove.
574 (install-%DIR%SCRIPTS): Adjust.
576 Compactify program rules using ternary operators.
577 * lib/am/progs.am (install-%DIR%PROGRAMS): Uglify^WCompactify
578 using ternary operators `%KEY?TRUE:FALSE%'.
579 (uninstall-%DIR%PROGRAMS): Likewise.
581 New doc section about command line length limits.
582 * doc/automake.texi (Length limitations): New node.
583 (Alternative): `nobase_' is not always equivalent to several
585 (Install): Mention multi-file install.
586 * NEWS: Expand on the issue, list some more user-visible
589 Install nobase_lib_LTLIBRARIES before bin_PROGRAMS.
590 * automake.in (generate_makefile): If nobase_lib_LTLIBRARIES are
591 used, add an ugly hack to install them before bin_PROGRAMS, just
592 like done with lib_LTLIBRARIES.
593 * tests/ltorder.test: Add program, to expose this.
595 Do not reorder nobase ltlib installation.
596 This patch changes back the order of installation of nobase
597 LTLIBRARIES to that in which files are listed in the variables.
598 It does not fix the issue of strict dependency ordering, as
599 implied by *_LIBADD, but as before allows to steer the order by
600 listing the libraries in nobase_*_LTLIBRARIES appropriately.
601 As an advantage over the state of 1.10, multiple consecutive
602 nobase libraries to be installed in the same directory are
603 passed to libtool in one invocation.
604 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) [!%?BASE%]: Do not
605 reorder libraries upon installation. Remove spurious empty
607 * tests/ltorder.test: New test.
608 * tests/Makefile.am: Update.
610 Fix -rpath arguments for nobase_*_LTLIBRARIES.
611 * automake.in (handle_ltlibraries): New hash %instsubdirs to
612 track the dirname of nobase ltlibraries, and tack it onto the
613 end of the -rpath argument. Also, fix the warning about ltlibs
614 installed in multiple locations to fit a bit better.
615 * tests/pr300-ltlib.test: Expose this bug here.
616 * tests/ltinstloc.test: New test.
617 * tests/Makefile.am: Update.
620 Man pages for automake and aclocal.
621 * configure.ac (HELP2MAN): New substitution.
622 * doc/Makefile.am (dist_man1_MANS, MAINTAINERCLEANFILES)
623 (update_mans): New macros.
624 ($(srcdir)/aclocal-$(APIVERSION).1)
625 ($(srcdir)/automake-$(APIVERSION).1): New rules, generate
626 man pages from the command line help with help2man.
627 ($(srcdir)/aclocal.1, $(srcdir)/automake.1): New rules, for
628 `.so' man page links to the versioned pages.
631 2008-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
633 Faster install for libtool outputs.
634 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Invoke `libtool
635 --mode=install' with multiple libraries at once.
636 (%DIR%LTLIBRARIES_INSTALL): No need to use install_sh any more.
637 * lib/am/progs.am (install-%DIR%PROGRAMS): Likewise, remove much
638 of the libtool special-casing by invoking it for multiple
641 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
643 Fast install and uninstall for SCRIPTS.
644 * lib/am/scripts.am [%?INSTALL%]: Include inst-vars.am
645 independent of `%?BASE%'.
646 (install-%DIR%SCRIPTS): Install multiple scripts at once,
647 using awk and a number of sed scripts.
648 (uninstall-%DIR%SCRIPTS): Compute the installed names, and
649 remove them, all at once.
650 (%DIR%SCRIPT_INSTALL) [!BASE]: No need to use install-sh any
653 Multi-file install for PROGRAMS.
654 * lib/am/progs.am (install-%DIR%PROGRAMS): Allow to install
655 several programs with one install invocation, when not using
656 libtool; employs some trickery to cater for nobase_, $(EXEEXT),
657 create needed directories, libtool, while only forking a
658 constant number of times in the fast path; uses awk and sed also
660 (%DIR%PROGRAMS_INSTALL) [!BASE]: No need to use install-sh any
663 Enhance cleaning of programs in libtool mode.
664 * lib/am/progs.am (clean-%DIR%PROGRAMS) [?LIBTOOL?]: Fork less
665 often, avoid removing programs twice if $(EXEEXT) is empty.
666 * tests/nobase-libtool.test: Also test PROGRAMS, in order to
667 exercise the code path.
669 Report by Toralf Förster.
671 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
672 Jim Meyering <jim@meyering.net>
674 Reliable multi-file install for man pages.
675 * lib/am/mans.am: Include inst-vars.am.
676 (install-man%SECTION%): Gather lists of man pages to install,
677 and install up to 40 of those that do not have to be renamed
678 at once. Fail if installation of any file fails.
679 (uninstall-man%SECTION%): Rewrite to use fewer sed invocations.
680 * doc/automake.texi (Man pages): Hint the user to the fast path.
682 * tests/instmany-mans.test: New test.
683 * tests/Makefile.am: Update.
685 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
687 Faster `make uninstall'; fast install for JAVA.
688 * lib/am/inst-vars.am (am__nobase_strip_setup)
689 (am__nobase_strip): New macros.
690 (am__nobase_list): Factorize.
691 * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use them, for a
692 constant number of forks per uninstall.
693 * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise.
694 * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise.
695 * lib/am/progs.am (uninstall-%DIR%PROGRAMS): Fast uninstall.
696 * lib/am/python.am (uninstall-%DIR%PYTHON): Fast uninstall.
697 Echo all `rm' commands that are are executed.
698 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA):
699 Fast install and uninstall.
701 AIX ranlib dislikes spaces in the argument.
702 * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test
703 failure on AIX due to ranlib and whitespace in the directory.
705 Report by John F Trudeau.
707 Fail upon install or ranlib failure, part two.
708 * lib/am/java.am (install-%DIR%JAVA): Fail upon install failure.
709 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
710 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Likewise.
711 * lib/am/libs.am (install-%DIR%LIBRARIES): Likewise, for
712 `install' as well as `ranlib'.
713 * lib/am/progs.am (install-%DIR%PROGRAMS): If `install' fails,
714 return its exit failure, not 1.
715 * tests/instfail.test: New test, for PROGRAMS (without libtool),
716 LIBRARIES, including nobase variants.
717 * tests/instfail-info.test: Likewise, for TEXINFOS.
718 * tests/instfail-java.test: Likewise, for JAVA.
719 * tests/instfail-libtool.test: Likewise, for PROGRAMS (with
720 libtool) and LTLIBRARIES.
721 * tests/Makefile.am: Adjust.
723 Exit upon `install' failure, part one.
724 * lib/am/data.am (install-%DIR%%PRIMARY%): Exit if any install
726 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
727 * lib/am/scripts.am (install-%DIR%SCRIPTS): Likewise.
728 * lib/am/texinfos.am (install-dvi-am, install-html-am)
729 (install-info-am:, install-pdf-am): Likewise.
730 * tests/instmany.test: New test, for SCRIPTS, DATA, and HEADERS.
731 * tests/instmany-python.test: New test, for PYTHON.
732 * tests/Makefile.am: Adjust.
734 2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
736 Fix multi-file installation for files in srcdir.
737 For files that can live in the build tree or the source tree,
738 we have to expect that prepending `$(srcdir)/' to each name
739 will let the install command line exceed length limitations.
740 Thus use a new macro, $(am__base_list), to install in chunks
741 of 40 files, similar to what we do for nobase_* files. There,
742 lower the limit to 40, too.
743 * lib/am/inst-vars.am (am__install_max): Lower to 40.
744 (am__base_list): New macro.
745 * lib/am/data.am (install-%DIR%%PRIMARY%) [%?BASE%]: Use it.
746 * lib/am/texinfos.am (install-dvi-am, install-html-am)
747 (install-info-am, install-pdf-am, install-ps-am): Likewise.
749 2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
751 Use `Exit' instead of `exit' in test suite.
752 Cater to Bourne shells like Solaris sh that do not pass the
753 `exit' argument as status to the cleanup trap.
754 * Makefile.am (maintainer-check): Check that here-documents
755 use only `END' or `EOF' as delimiter in the test suite.
756 Check that, outside of here-documents, the tests do not use
757 `exit' with an argument, but use `Exit' instead.
758 * tests/defs.in (Exit): New function. Use it throughout,
759 starting with the introduction of the exit trap.
760 * tests/aclibobj.test, tests/acloca10.test, tests/acloca11.test,
761 tests/acloca12.test, tests/acloca13.test, tests/acloca14.test,
762 tests/acloca15.test, tests/acloca16.test, tests/acloca17.test,
763 tests/acloca18.test, tests/acloca19.test, tests/acloca20.test,
764 tests/acloca21.test, tests/acloca22.test, tests/aclocal.test,
765 tests/aclocal3.test, tests/aclocal4.test, tests/aclocal5.test,
766 tests/aclocal6.test, tests/aclocal7.test, tests/aclocal8.test,
767 tests/aclocal9.test, tests/acoutbs.test, tests/acoutbs2.test,
768 tests/acoutnoq.test, tests/acoutpt.test, tests/acoutpt2.test,
769 tests/acoutqnl.test, tests/acsilent.test, tests/acsubst.test,
770 tests/acsubst2.test, tests/all.test, tests/alloca.test,
771 tests/alloca2.test, tests/alpha.test, tests/alpha2.test,
772 tests/amassign.test, tests/ammissing.test, tests/amopt.test,
773 tests/amsubst.test, tests/ansi.test, tests/ansi10.test,
774 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
775 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
776 tests/ansi7.test, tests/ansi8.test, tests/ansi9.test (main),
777 tests/ar.test, tests/ar2.test, tests/asm.test, tests/asm2.test,
778 tests/asm3.test, tests/automake.test, tests/auxdir.test,
779 tests/auxdir2.test, tests/auxdir3.test, tests/auxdir4.test,
780 tests/backsl.test, tests/backsl2.test, tests/backsl3.test,
781 tests/backsl4.test, tests/badline.test, tests/badopt.test,
782 tests/badprog.test, tests/block.test, tests/bsource.test,
783 tests/canon-name.test, tests/canon.test, tests/canon2.test,
784 tests/canon3.test, tests/canon4.test, tests/canon5.test,
785 tests/ccnoco.test, tests/ccnoco2.test, tests/check.test,
786 tests/check2.test, tests/check3.test, tests/check4.test,
787 tests/check5.test, tests/check6.test, tests/check7.test,
788 tests/checkall.test, tests/clean.test, tests/clean2.test,
789 tests/colneq.test, tests/colneq2.test, tests/colon.test,
790 tests/colon2.test, tests/colon3.test, tests/colon4.test,
791 tests/colon5.test, tests/colon6.test, tests/colon7.test,
792 tests/color.test (test_no_color), tests/commen10.test,
793 tests/comment.test, tests/comment2.test, tests/comment3.test,
794 tests/comment4.test, tests/comment5.test, tests/comment6.test,
795 tests/comment7.test, tests/comment8.test, tests/comment9.test,
796 tests/compile.test, tests/compile_f90_c_cxx.test,
797 tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
798 tests/cond11.test, tests/cond13.test, tests/cond14.test,
799 tests/cond15.test, tests/cond16.test, tests/cond17.test,
800 tests/cond18.test, tests/cond19.test, tests/cond2.test,
801 tests/cond20.test, tests/cond21.test, tests/cond22.test,
802 tests/cond27.test, tests/cond3.test, tests/cond37.test,
803 tests/cond39.test, tests/cond4.test, tests/cond40.test,
804 tests/cond41.test, tests/cond5.test, tests/cond6.test,
805 tests/cond7.test (AC_INIT), tests/cond8.test, tests/cond9.test,
806 tests/condd.test, tests/condhook.test, tests/condinc.test,
807 tests/condinc2.test, tests/condlib.test, tests/condman.test,
808 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
809 tests/conff.test, tests/conff2.test, tests/confh.test,
810 tests/confh4.test, tests/confh5.test, tests/config.test,
811 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
812 tests/conflnk3.test, tests/conflnk4.test, tests/confsub.test,
813 tests/confvar.test, tests/confvar2.test, tests/copy.test,
814 tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
815 tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
816 tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
817 tests/cygwin32.test, tests/dash.test, tests/defs.in (else),
818 tests/defun.test, tests/defun2.test, tests/dejagnu.test,
819 tests/dejagnu2.test, tests/dejagnu3.test, tests/dejagnu4.test,
820 tests/dejagnu5.test, tests/dejagnu6.test, tests/dejagnu7.test,
821 tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test,
822 tests/depcomp3.test, tests/depcomp4.test, tests/depcomp5.test,
823 tests/depcomp6.test, tests/depcomp7.test, tests/depdist.test,
824 tests/depend.test, tests/depend2.test, tests/depend3.test,
825 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
826 tests/dirlist.test, tests/dirlist2.test, tests/discover.test,
827 tests/distcom2.test, tests/distcom3.test, tests/distcom4.test,
828 tests/distcom5.test, tests/distcom6.test, tests/distcom7.test,
829 tests/distdir.test, tests/distname.test, tests/dollar.test,
830 tests/double.test, tests/dup2.test, tests/else.test,
831 tests/empty.test, tests/empty2.test, tests/empty3.test,
832 tests/empty4.test, tests/exdir.test, tests/exdir2.test,
833 tests/exdir3.test, tests/exeext.test, tests/exeext2.test,
834 tests/exeext3.test, tests/exeext4.test, tests/exsource.test,
835 tests/ext.test, tests/extra.test, tests/extra2.test,
836 tests/extra3.test, tests/extra4.test, tests/extra5.test,
837 tests/extra6.test, tests/extra7.test, tests/f90only.test,
838 tests/flibs.test, tests/fn99.test, tests/fn99subdir.test,
839 tests/fnoc.test, tests/fo.test, tests/fonly.test,
840 tests/fort1.test, tests/fort2.test, tests/fort4.test,
841 tests/fort5.test, tests/fortdep.test, tests/fpinst2.test,
842 tests/fpinstall.test, tests/gcj.test, tests/gcj2.test,
843 tests/gcj3.test, tests/gcj4.test, tests/gcj5.test,
844 tests/getopt.test, tests/gettext.test, tests/gettext2.test,
845 tests/gettext3.test, tests/gnits.test, tests/gnits2.test (main),
846 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
847 tests/gnuwarn2.test, tests/header.test, tests/help.test,
848 tests/hosts.test, tests/implicit.test, tests/include.test,
849 tests/include2.test, tests/info.test, tests/init.test,
850 tests/insh2.test, tests/install2.test, tests/installdir.test,
851 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
852 tests/insthook.test, tests/instman.test, tests/instman2.test,
853 tests/instsh.test, tests/instsh2.test, tests/instsh3.test,
854 tests/instspc.test, tests/interp.test, tests/interp2.test,
855 tests/java.test, tests/java2.test, tests/java3.test,
856 tests/javaprim.test, tests/javasubst.test, tests/ldadd.test,
857 tests/ldflags.test, tests/lex.test, tests/lex2.test,
858 tests/lex3.test, tests/lex4.test, tests/lex5.test (main),
859 tests/libexec.test, tests/libobj10.test, tests/libobj11.test,
860 tests/libobj12.test, tests/libobj13.test, tests/libobj2.test,
861 tests/libobj3.test, tests/libobj4.test, tests/libobj5.test,
862 tests/libobj7.test, tests/libobj8.test, tests/library.test,
863 tests/library2.test, tests/library3.test, tests/libtoo10.test,
864 tests/libtool.test, tests/libtool2.test, tests/libtool3.test
865 (main), tests/libtool4.test, tests/libtool5.test,
866 tests/libtool6.test, tests/libtool7.test, tests/libtool8.test,
867 tests/libtool9.test (main), tests/license.test,
868 tests/link_c_cxx.test, tests/link_dist.test,
869 tests/link_f90_only.test, tests/link_f_only.test,
870 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
871 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
872 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
873 tests/lisp8.test, tests/listval.test, tests/location.test,
874 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
875 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
876 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/lzma.test,
877 tests/maintclean.test, tests/make.test, tests/makej.test,
878 tests/makevars.test, tests/man.test, tests/man2.test,
879 tests/man3.test, tests/mclean.test, tests/mdate.test,
880 tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
881 tests/mdate5.test, tests/missing.test, tests/missing2.test,
882 tests/missing3.test, tests/missing4.test, tests/missing5.test,
883 tests/missing6.test, tests/mkinst2.test, tests/mkinst3.test,
884 tests/mkinstall.test, tests/mmode.test, tests/mmodely.test,
885 tests/multlib.test, tests/nobase-libtool.test,
886 tests/nobase-python.test, tests/nobase.test, tests/nodef.test,
887 tests/nodef2.test, tests/nodep.test, tests/nodep2.test,
888 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
889 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
890 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
891 tests/nostdinc.test, tests/notrans.test, tests/number.test,
892 tests/objc.test, tests/objc2.test, tests/obsolete.test,
893 tests/order.test, tests/outdir.test, tests/output-order.test,
894 tests/output.test, tests/output10.test, tests/output11.test,
895 tests/output12.test, tests/output13.test, tests/output2.test,
896 tests/output3.test, tests/output4.test, tests/output5.test,
897 tests/output6.test, tests/output7.test, tests/output8.test,
898 tests/output9.test, tests/overrid.test, tests/parse.test,
899 tests/pluseq.test, tests/pluseq10.test, tests/pluseq2.test,
900 tests/pluseq3.test, tests/pluseq4.test, tests/pluseq5.test,
901 tests/pluseq6.test, tests/pluseq7.test, tests/pluseq8.test,
902 tests/pluseq9.test, tests/postproc.test, tests/ppf77.test,
903 tests/pr2.test, tests/pr204.test, tests/pr211.test,
904 tests/pr220.test, tests/pr224.test, tests/pr229.test,
905 tests/pr243.test, tests/pr266.test, tests/pr279-2.test,
906 tests/pr279.test, tests/pr287.test, tests/pr300-lib.test,
907 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/pr307.test,
908 tests/pr401.test, tests/pr401b.test, tests/pr401c.test,
909 tests/pr72.test, tests/pr87.test, tests/pr9.test,
910 tests/prefix.test, tests/primary.test, tests/primary2.test,
911 tests/primary3.test, tests/proginst.test, tests/python.test,
912 tests/python10.test, tests/python11.test, tests/python12.test,
913 tests/python2.test, tests/python3.test, tests/python4.test,
914 tests/python5.test, tests/python6.test, tests/python7.test,
915 tests/python8.test, tests/python9.test, tests/recurs.test,
916 tests/recurs2.test, tests/regex.test, tests/remake.test,
917 tests/remake2.test, tests/remake3.test, tests/remake4.test,
918 tests/remake5.test, tests/remake6.test, tests/remake7.test,
919 tests/req.test, tests/reqd.test, tests/reqd2.test,
920 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
921 tests/sinclude.test, tests/space.test, tests/specflg.test,
922 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
923 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
924 tests/spell.test, tests/spell2.test, tests/spell3.test,
925 tests/spelling.test, tests/spy.test, tests/srcsub.test,
926 tests/srcsub2.test, tests/stamph2.test, tests/stdinc.test,
927 tests/stdlib.test, tests/stdlib2.test, tests/strip.test,
928 tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
929 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
930 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
931 tests/subdir7.test, tests/subdir8.test, tests/subdir9.test,
932 tests/subdirbuiltsources.test, tests/subobj.test,
933 tests/subobj10.test, tests/subobj2.test, tests/subobj3.test,
934 tests/subobj4.test, tests/subobj5.test, tests/subobj6.test,
935 tests/subobj7.test, tests/subobj8.test, tests/subobj9.test,
936 tests/subobjname.test, tests/subpkg.test, tests/subpkg2.test,
937 tests/subpkg3.test, tests/subst.test, tests/subst2.test,
938 tests/subst3.test, tests/substre2.test, tests/substref.test,
939 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
940 tests/suffix11.test, tests/suffix12.test, tests/suffix2.test,
941 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
942 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
943 tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
944 tests/symlink3.test, tests/syntax.test, tests/tags.test,
945 tests/tagsub.test, tests/tar.test, tests/tar2.test,
946 tests/tar3.test, tests/target-cflags.test,
947 tests/targetclash.test, tests/transform.test, tests/txinfo.test,
948 tests/txinfo10.test, tests/txinfo13.test, tests/txinfo16.test,
949 tests/txinfo17.test, tests/txinfo18.test, tests/txinfo19.test,
950 tests/txinfo2.test, tests/txinfo20.test, tests/txinfo21.test,
951 tests/txinfo22.test, tests/txinfo23.test, tests/txinfo24.test,
952 tests/txinfo25.test, tests/txinfo26.test, tests/txinfo27.test,
953 tests/txinfo28.test, tests/txinfo29.test, tests/txinfo3.test,
954 tests/txinfo30.test, tests/txinfo31.test, tests/txinfo4.test,
955 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
956 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
957 tests/upc.test, tests/upc2.test, tests/upc3.test,
958 tests/vars.test, tests/vars3.test, tests/vartar.test,
959 tests/version.test, tests/version2.test, tests/version3.test,
960 tests/version4.test, tests/version6.test, tests/version7.test,
961 tests/version8.test, tests/vpath.test, tests/vtexi.test,
962 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
963 tests/werror2.test, tests/whoami.test, tests/xsource.test,
964 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
965 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
966 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
967 tests/yaccvpath.test: Use `Exit $arg' instead of `exit $arg'
968 throughout, except inside created files.
970 2008-09-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
972 Avoid Heisenbug with verbose testing on HP-UX.
973 * tests/output-order.test: Remove spurious redirection line
974 from output for comparison.
976 For all possibly-relative subdirs, use $(am__cd).
977 Up to now, $(am__cd) was only used within backquotes, to avoid
978 extraneous output. This patch also uses it for every `cd' to a
979 relative subdir, to prevent CDPATH from entering an unwanted
981 * Makefile.am (maintainer-check): Fix current check for
982 $(am__cd) within backquotes a bit. Add new check for `cd' to a
984 * automake.in (handle_tags, handle_configure): Adjust rules.
985 * lib/am/ansi2knr.am: Likewise.
986 * lib/am/configure.am: Likewise.
987 * lib/am/distdir.am: Likewise.
988 * lib/am/remake-hdr.am: Likewise.
989 * lib/am/subdirs.am: Likewise.
990 * lib/am/tags.am: Likewise.
991 * lib/am/texibuild.am: Likewise.
993 Fix nobase-python.test for BSD make.
994 * tests/nobase-python.test: Listing a dependency to be found
995 via VPATH search explicitly, without the path, as a target,
996 will turn off VPATH search for FreeBSD make. So move the
997 creation of the files outside of the Makefile.
999 2008-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1001 Implement AM_MAINTAINER_MODE([DEFAULT-MODE]).
1002 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Allow for an optional
1003 first argument of `enable' or `disable', setting the default.
1004 * doc/automake.texi (Optional, maintainer-mode): Document.
1005 * tests/mmode.test: New test.
1006 * tests/Makefile.am: Adjust.
1008 Suggestion by Vincent Lefevre.
1010 2008-08-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1012 Copyright year updates.
1013 * lib/am/header-vars.am: Update copyright years.
1014 * lib/am/remake-hdr.am: Likewise.
1015 * lib/am/tags.am: Likewise.
1017 2008-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1019 * THANKS: Use Cyrillic name instead of ASCII transcription.
1021 2008-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1023 Fix rebuilding of removed subdir/Makefile.in files.
1024 * lib/am/configure.am (%MAKEFILE-IN%) [?!TOPDIR_P?]: If
1025 subdir/Makefile.in was removed, am--refresh would not update
1026 it. Fix up for it by running the per-directory rebuild rule.
1027 * tests/remake6.test, tests/remake7.test: New tests.
1028 * tests/Makefile.am: Adjust.
1029 * NEWS, THANKS: Update.
1030 Report and initial patch by Ilya N. Golubev.
1032 2008-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1034 * tests/notrans.test: Use multiple man files of each type.
1036 Fix maintainer-check failures.
1037 * doc/automake.texi (Conditionals): Drop TAB.
1038 * tests/missing6.test: Use 'rm -f'.
1040 2008-08-19 Reuben Thomas <rrt@sc3d.org> (tiny patch)
1042 * doc/automake.texi (Flag Variables Ordering, Per-Object Flags):
1045 2008-08-02 Karl Berry <karl@freefriends.org>
1047 * lib/gnupload: Provide also a simple example.
1049 2008-06-25 Thien-Thi Nguyen <ttn@gnuvola.org>
1052 * doc/automake.texi (Public Macros): Close open paren.
1054 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1056 Introduce macro $(am__mv) to facilitate 'libtool --dry-run'.
1057 * lib/am/depend.am (am__mv): New macro, set to 'mv -f'.
1058 * lib/am/depend2.am: Use throughout to move the temporary
1059 depfile *.Tpo to its final destination *.Po.
1061 2008-06-18 Rafael Espindola <espindola@google.com>
1063 * lib/config-ml.in: don't handle --enable-shared and --enable-static.
1065 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1067 * lib/am/inst-vars.am (am__install_max): New variable.
1068 (am__nobase_list): Use it.
1070 Fix conditional rules competing with config.status rules.
1071 * automake.in (handle_configure): Teach targets about the
1072 conditional config.status rule.
1073 * tests/cond39.test: Adjust test to expose this.
1075 For AC_CONFIG_LINKS(X,X), do not clean X in a non-VPATH build.
1076 * automake.in (rewrite_inputs_into_dependencies): Do distribute
1077 inputs where input and output name are equal. This relies on
1078 the assumption that it only happens with AC_CONFIG_LINKS.
1079 (handle_configure) <CONFIG_CLEAN_VPATH_FILES>: New variable, for
1080 links where source and dest are equal.
1081 * lib/am/clean.am (distclean-generic): Remove, if build tree not
1083 * tests/conflnk4.test: New test.
1084 * tests/Makefile.am: Adjust.
1087 2008-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1089 * doc/automake.texi (Extending): Fix ambivalent wording.
1090 Report by Ben Pfaff.
1092 2008-06-04 Karl Berry <karl@freefriends.org>
1094 * doc/automake.texi (Install, Hard-Coded Install Paths): Fix
1095 punctuation and markup.
1096 (Extending): Improve wording and clarify order semantics of
1097 *-local and *-hook targets.
1099 2008-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1101 * doc/automake.texi (Extending): Fix grammar.
1102 Report by Karl Berry.
1104 2008-05-13 Stepan Kasal <skasal@redhat.com>
1107 * doc/automake.texi (Timeline): Reported by Reuben Thomas.
1108 * lib/am/remake-hdr.am: A few typos in comments.
1110 2008-04-10 Eric Blake <ebb9@byu.net>
1112 Prefer a released version of autoconf.
1113 * NEWS: Bump requirement to autoconf 2.62.
1114 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
1115 * configure.ac: Likewise.
1116 (AC_PREREQ): Remove check, done by AM_INIT_AUTOMAKE instead.
1118 AC_AUTOCONF_VERSION can inadvertently expand to a macro name.
1119 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Use proper
1121 * aclocal.in (write_aclocal): Likewise.
1122 * tests/missing6.test: New test.
1123 * tests/Makefile.am (TESTS): Run it.
1124 * tests/missing4.test: Adjust.
1126 2008-04-02 Eric Blake <ebb9@byu.net>
1128 Make gnupload friendlier for VPATH usage.
1129 * lib/gnupload: Allow uploads from separate directory.
1131 2008-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1133 Implement conditional AC_CONFIG_FILES: AM_COND_IF.
1134 * automake.in (%ac_config_files_condition): New.
1135 (scan_autoconf_config_files): Record condition if any.
1136 (scan_autoconf_traces): Trace _AM_COND_IF, _AM_COND_ELSE,
1137 _AM_COND_ENDIF, updating @cond_stack as appropriate.
1138 (handle_configure): Prefix config.status rule with condition.
1139 Check that m4 quotation is done consistently.
1140 * m4/cond.m4 (AM_CONDITION): Define `_AM_COND_VALUE_name'
1141 with `name' being the name of the condition, to its shell
1143 * m4/cond-if.m4: New file.
1144 (_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF): New trace helpers.
1145 (AM_COND_IF): New macro, implements conditionals.
1146 * m4/Makefile.am: Adjust.
1147 * doc/automake.texi (Requirements, Optional, Conditionals):
1148 Document AM_COND_IF.
1150 * tests/cond39.test, tests/cond40.test, tests/cond41.test,
1151 tests/cond42.test, tests/cond43.test: New tests.
1152 * tests/Makefile.am: Adjust.
1154 2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1156 * doc/automake.texi (@ovar): New macro, from autoconf.texi.
1158 Suggestion by Eric Blake.
1160 2008-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1162 * lib/texinfo.tex: Sync from upstream.
1164 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1166 * doc/automake.texi (Requirements, Linking, Extending):
1167 Fix underfull and overfull lines, fix wording a bit.
1169 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
1172 * Makefile.am (WGET_SV_GIT_CF): New.
1173 (fetch): Pull config.guess and config.sub from git repo now.
1175 * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
1176 $hint, show if the executing program does not exist.
1177 (xsystem_hint): New function, like xsystem but allows to pass
1180 2008-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
1182 Implement the `notrans_' prefix for untransformed manpages.
1183 * automake.in (handle_man_pages), lib/am/mans.am: Implement
1184 notrans_ prefix for MANS primary and rework dependencies for
1185 install-man%SECTION%; use only vars defined in Makefile.am.
1186 * doc/automake.texi (Renaming, Uniform, Man pages):
1187 Document notrans_ prefix.
1189 * tests/notrans.test: New test.
1190 * tests/Makefile.am: Update.
1192 * automake.in (handle_man_pages): Reindent, for next patch.
1194 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1196 Use `install' with multiple files at once for some primaries.
1197 With nobase targets, at most 50 files are installed at once,
1198 to avoid quadratic string concatenation and line length limits.
1199 This isn't yet done with base targets. One hope is that there,
1200 the typical file name length is lower. If this turns out to be
1201 a problem, it should be revisited.
1203 * lib/am/inst-vars.am (am__nobase_list): New helper macro for
1204 installation of multiple nobase files at once: sorts and lists
1205 files keyed by their target directory.
1206 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): No need to set it to
1207 $(install_sh_DATA) any more, not even for nobase targets.
1208 (install-%DIR%%PRIMARY%): Split base and nobase cases.
1209 Rewrite to pass lists of files which all go in the same
1210 directory to `install'. In the nobase case, make use of
1211 $(am__nobase_list) and $(MKDIR_P) each directory before
1212 populating it. Take care of files in source and build trees,
1213 and avoid creating directories where no files are to be
1215 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Likewise.
1216 (install-%DIR%LIBRARIES): Likewise.
1217 * lib/am/python.am (%DIR%PYTHON_INSTALL): Likewise.
1218 (install-%DIR%PYTHON): Likewise. Also take care to keep note of
1219 a list for byte compilation after installation.
1220 * lib/am/texinfos.am (install-dvi-am, install-html-am)
1221 (install-info-am, install-pdf-am, install-ps-am): Use file lists
1222 to install multiple files at once.
1224 Suggested by Akim Demaille.
1226 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1228 Require unreleased Autoconf for fixed AC_PROG_INSTALL.
1229 * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341,
1231 * configure.ac: Also require Autoconf 2.61-341, to catch
1232 failure early and provide a sensible error message.
1234 Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
1235 * tests/ansi4.test: Drop AC_OBJEXT and AC_EXEEXT.
1236 * tests/ansi6.test: Likewise.
1237 * tests/ansi7.test: Likewise.
1238 * tests/condlib.test: Likewise.
1239 * tests/cygwin32.test: Likewise.
1240 * tests/exeext2.test: Likewise.
1241 * tests/libobj11.test: Likewise.
1242 * tests/library.test: Likewise.
1243 * tests/txinfo5.test: Likewise.
1245 2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1247 Skip instsh3.test if `touch -t' does not work.
1248 * tests/instsh3.test: Test for `touch -t', fails with Solaris
1251 Report by Younes Younes.
1253 2008-02-27 Reuben Thomas <rrt@sc3d.org>
1255 * doc/automake.texi (wildcards): Improve "Why doesn't Automake
1256 support wildcards" node's English and sense.
1258 2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1260 * lib/am/check.am (check-TESTS): In the case patterns for
1261 XFAILed tests, add literal bracket expression for matching
1262 whitespace, as NetBSD 4.99.54 ksh does not understand a
1263 bracket expression resulting from variable expansion.
1264 * README: Explain how to run the Automake test suite, including
1265 setting MAKE to test gmake.
1266 Report by Patrick Welche.
1268 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1271 * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of
1272 obsolete AC_FOREACH.
1273 Report by NightStrike and gurganbl@rose-hulman.edu.
1275 2008-02-17 Colin Watson <cjwatson@debian.org> (tiny change)
1277 * lib/am/tags.am (ID): Fix typo in workaround for old awk.
1279 2008-02-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1281 * doc/.gitignore: Ignore files generated by `make ps pdf html'.
1283 2008-02-05 Reuben Thomas <rrt@sc3d.org>
1285 * doc/automake.texi (CVS): configure.ac will appear newer, not
1286 older, than configure. Use `lexical' instead of `alphabetical'.
1288 2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1290 * tests/man3.test: Avoid `make VAR=value'.
1292 * tests/subst3.test: New test.
1293 * tests/Makefile.am: Update.
1295 * tests/instsh2.test: Split off testing of `install-sh -C' ...
1296 * tests/instsh3.test: ... to this new test, requiring non-root.
1297 * tests/Makefile.am: Adjust.
1299 Report by Theodoros V. Kalamatianos.
1301 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1303 * tests/nobase.test: Extend test to generated files.
1305 * tests/nobase-python.test: New test, nobase for python files.
1306 * tests/Makefile.am: Update.
1308 * tests/nobase.test: Split off libtool part of nobase.test for
1309 increased test exposure, to ...
1310 * tests/nobase-libtool.test: ... this new test.
1311 * tests/Makefile.am: Update.
1313 2008-01-23 Eric Blake <ebb9@byu.net>
1315 Fix color.test when using BSD grep.
1316 * tests/color.test: Ensure that grep can handle non-printing
1319 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1321 * tests/lisp3.test: Fix typo.
1323 2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1325 * lib/am/mans.am (install-man%SECTION%): Prefer generated manpages
1326 over distributed ones.
1327 Report and patch by Peter Breitenlohner.
1328 * tests/man3.test: New test.
1329 * tests/Makefile.am: Update.
1331 2008-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1333 * tests/tar.test: Skip if no appropriate tar was found.
1335 2008-01-19 NightStrike <nightstrike@gmail.com>
1337 * doc/automake.texi (Dependency Tracking): Fix typo.
1339 2008-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1341 * lib/config-ml.in, lib/config.guess, lib/config.sub,
1342 lib/symlink-tree: Sync from upstream.
1344 * Makefile.am (WGET_SV_CVS): Renamed from WGETSGO.
1345 (WGET_SV_GIT_AC, WGET_SV_GIT_GL, WGET_GCC): New.
1346 (fetch): Update to match current upstream locations.
1348 2008-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1350 * doc/automake.texi (DESTDIR, Built sources example): Fix wording.
1352 Reports and suggestions by William Pursell and nightstrike@gmail.com.
1354 2008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1356 Do not fail if `autoupdate' is not present.
1357 * tests/obsolete.test: Check for presence of autoupdate. Apparently,
1358 FreeBSD may install the other Autoconf programs without a version
1359 suffix but not autoupdate.
1361 Fix Heisenbug trying to unset a sometimes-not-set variable.
1362 * tests/check5.test: Do not error out upon `unset TESTS' due to
1363 `set -e', in case TESTS was not set.
1364 * tests/color.test: Likewise.
1366 * doc/automake.texi (amhello Explained): Fix odd sentence.
1367 Report by nightstrike@gmail.com.
1369 2008-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1371 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more
1372 resistant to different quoting styles of $1.
1374 Clarify texinfo.tex and TEXINFO_TEX semantics.
1375 * doc/automake.texi (Texinfo): Clarify that by default,
1376 texinfo.tex is searched in the same directory as the Makefile.am
1377 that needs it. Clarify that TEXINFO_TEX has precedence over
1378 AC_CONFIG_AUX_DIR, and that it requires the user to install and
1380 * tests/txinfo22.test: Ensure TEXINFO_TEX is not distributed.
1382 Reports by Dilyan Palauzov and Roumen Petrov.
1384 2008-01-11 Bruno Haible <bruno@clisp.org>
1385 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1387 * tests/output-order.test: New test, for the stable output fix.
1388 * tests/Makefile.am: Update.
1390 2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1392 * Makefile.am (dist-hook): New, ensure world-executable tests.
1394 Report by Arto C. Nirkko.
1396 * tests/acloca20.test: Use `--force' with the second $AUTOCONF,
1397 to force update on fast machines where both autoconf invocations
1398 happen within the same second.
1399 Report by Greg Schafer.
1401 2008-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1403 * automake.in (scan_autoconf_files): Sort loop over
1404 %required_aux_file, for stable verbose output.
1405 Report by Bruno Haible.
1407 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
1410 * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o,
1411 to avoid matching for example `LDFLAGS=-Wl,--sort-common'.
1413 Report and analysis by Carsten Lohrke and Mike Frysinger.
1415 2008-01-07 Stepan Kasal <skasal@redhat.com>
1417 * automake.in (handle_texinfo_helper, handle_lib_objects): Fix
1420 2008-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1422 Bump copyright years.
1423 * aclocal.in (write_aclocal, version): Likewise.
1424 * automake.in ($gen_copyright, version): Likewise.
1425 * doc/automake.texi: Likewise.
1427 2007-12-18 Jim Meyering <meyering@redhat.com>
1429 * lib/gnupload (GPG): Don't use an absolute path.
1430 This reverts part of the 2004-01-28 change.
1432 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1434 * lib/Automake/FileUtils.pm (open_quote): New function.
1435 (update_file, contents): Use it.
1437 Reword the copyright notices to match what's suggested in GPLv3.
1439 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1441 * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext
1442 tests if the absolute source or build tree name contain whitespace.
1444 Modify some tests for absolute trees containing whitespace.
1445 * tests/missing.test: Use "./missing" instead of "`pwd`/missing".
1446 * tests/missing2.test: Likewise.
1447 * tests/mmodely.test: Add `pwd` to $PATH instead of absolute
1448 references to myyacc.sh and mylex.sh.
1449 * tests/multlib.test: Likewise for mycc.
1450 * tests/txinfo26.test: Skip if `pwd` contains whitespace, as
1451 an absolute --srcdir does not work there.
1453 * INSTALL, lib/INSTALL, lib/config-ml.in, lib/config.guess,
1454 lib/config.sub, lib/texinfo.tex: Sync from upstream.
1456 Fix the distdir target to cope with spaces in absolute file names.
1457 * lib/am/distdir.am: Quote all instances of $(distdir) and
1458 $(top_distdir). They could contain white space, coming from
1459 a toplevel package bootstrapped with an older Automake version.
1460 (am__relativize): New macro, taken from gnulib code, written by
1462 (distdir): Use it to compute relative paths to distdir and
1463 top_distdir for enclosed subpackages.
1464 Also, quote $(distuninstallcheck_dir).
1465 * lib/am/texinfos.am: Likewise, quote $(distdir).
1467 2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1469 Quote file names in tests that can be absolute.
1470 * tests/auxdir.test, tests/check3.test, tests/check4.test,
1471 tests/compile.test, tests/cond33.test, tests/condhook.test,
1472 tests/distdir.test, tests/dollar.test, tests/empty.test,
1473 tests/gnits2.test, tests/gnits3.test, tests/include2.test,
1474 tests/insthook.test, tests/java.test, tests/libtool7.test,
1475 tests/lisp4.test, tests/lisp5.test, tests/lisp6.test,
1476 tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test,
1477 tests/multlib.test, tests/nobase.test, tests/nodist2.test,
1478 tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test,
1479 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test,
1480 tests/python3.test, tests/strip.test, tests/transform.test,
1481 tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test,
1482 tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test:
1485 Quote @abs_top_builddir@ and @abs_top_srcdir@.
1486 * tests/aclocal.in: Likewise.
1487 * tests/automake.in: Likewise.
1489 Fix TAGS and GTAGS rules to cope with whitespace in `pwd`.
1490 * lib/am/tags.am (TAGS): Use positional parameters to avoid
1491 the need to quote absolute file names.
1492 (GTAGS): Quote absolute file name.
1493 (CTAGS): Simplify, dropping unused variable `$tags'.
1495 2007-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1497 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance
1498 of am__strip_dir. Fixes nobase and pr300-ltlib test failures.
1500 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
1502 Several *-local in a rule do not work.
1503 * tests/all.test: Check this case.
1505 * tests/Makefile.am (XFAIL_TESTS): Add it.
1507 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
1509 Fix uses of am__strip_dir.
1510 * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of
1511 definition of am__strip_dir.
1513 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
1515 Define and use register_action.
1516 * lib/Automake/Rule.pm: Fix a few typos in the doc.
1517 (&rule): Use || to simplify the code.
1518 (®ister_action): New.
1520 * automake.in (&handle_factored_dependencies, &file_contents_internal):
1523 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
1525 * bootstrap: Fix typos on redirections.
1527 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
1529 Skip comments and empty lines in dirlist in the tests.
1530 * defs.in (extra_includes): Skip comments and empty lines in dirlist.
1532 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
1534 Ternary operator in lib/am files.
1535 * automake.in (&transform_token): New.
1536 (&transform): Use it.
1537 Support %KEY?TRUE:FALSE%.
1538 (&make_paragraphs): Adjust the regexp to call %transform.
1539 * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
1540 * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am:
1541 Use %KEY?TRUE:FALSE%.
1542 * lib/am/inst-vars.am (am__strip_dir): Assign the result to f
1543 to be more alike am__vpath_adj.
1544 Adjust dependencies.
1546 2007-11-24 Akim Demaille <demaille@gostai.com>
1548 * automake.in: Normalize white spaces.
1550 2007-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1552 * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding
1553 rules, if the absolute build directory name contains white space.
1555 2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1557 * aclocal.in (trace_used_macros): Quote input files.
1559 * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`.
1561 * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again.
1562 (CTAGS): Drop unneeded variable `here'.
1564 2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1566 * tests/output13.test: New test.
1567 * tests/Makefile.am: Adjust.
1568 Prompted by report from Bruno Haible in
1569 <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>.
1571 Fix signal handling in aclocal.
1572 * aclocal.in (unlink_tmp): If invoked by a signal, note so
1573 in verbose mode. Reinstall default signal handler and reraise,
1574 to transport the interrupt information.
1576 2007-11-13 Bob Proulx <bob@proulx.com>
1578 Fix color test failure on dumb (and other) terminals.
1579 * tests/color.test: Set TERM to `ansi'.
1581 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1583 Avoid spurious test failure with `make check TESTS=check5.test'.
1584 * tests/check5.test: unset TESTS.
1586 Fix maintainer-check failure.
1587 * tests/color.test: unset TESTS, use `make -e' rather than
1590 2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1592 * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a.
1594 * automake.in (handle_tests): Remove debugging leftover.
1596 Run each test in a process-private subdirectory.
1597 * tests/defs.in: Employ a trap to clean up at the end of the
1598 test in case the test succeeded. This needs to be revisited
1599 because we would like to keep the output of XPASSing tests.
1600 Also, note when we were interrupted by a signal. Code taken
1601 from Autoconf's _AC_INIT_PREPARE.
1602 If $keep_testdirs is set, keep them even for successful tests.
1603 * tests/Makefile.am (check-clean-local): New target. Remove all
1604 tests subdirs, but also make them writable first. The latter
1605 was already needed without per-test subdirs.
1606 (distclean-local): Depend upon check-clean-local.
1607 * tests/Makefile.in: Regenerate.
1608 * tests/.cvsignore, tests/.gitignore: Adjust.
1610 Fix default includes ordering to be `-I. -I$(srcdir) ...' again.
1611 * automake.in (handle_compile): Put -I$(srcdir) before include
1612 paths for config headers, as was done before Automake 1.10, but
1613 keep uniquified list without multiple adjacent spaces.
1614 * doc/automake.texi (Program variables): List include paths
1616 * NEWS: Mention 1.10 regression.
1617 * tests/stdinc.test: New test.
1618 * tests/Makefile.am: Adjust.
1620 Report by Kent Boortz.
1622 2007-11-08 Akim Demaille <akim@lrde.epita.fr>
1623 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1624 Bob Proulx <bob@proulx.com>
1626 Implement colorized test output.
1627 * automake.in (handle_tests): Set COLOR depending on `color-tests'.
1628 * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'.
1629 * doc/automake.texi (Tests, Options): Document test results,
1630 document new option, document AM_COLOR_TESTS.
1631 * lib/Automake/Options.pm (_process_option_list): Handle it.
1632 * lib/am/check.am (am__tty_colors): New variable. Enable colored
1633 output if TERM is not dumb and depending on AM_COLOR_TESTS and
1634 whether stdout is connected to a terminal.
1635 (check-TESTS): Use am__tty_colors.
1636 * NEWS: Mention color-tests.
1637 * tests/color.test: New test.
1638 * tests/Makefile.am: Adjust.
1640 2007-11-08 NightStrike <nightstrike@gmail.com> (tiny change)
1642 For PR automake/526:
1643 * doc/automake.texi (Basic Installation): Fix typo.
1645 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1647 Accommodate for new macro AC_AUTOCONF_VERSION.
1648 * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather
1649 than m4_PACKAGE_VERSION. Define the former if not defined.
1650 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise.
1651 * tests/missing4.test: Use AC_AUTOCONF_VERSION.
1653 2007-10-29 Bruno Haible <bruno@clisp.org>
1655 * doc/automake.texi (Program variables): Clarify that
1656 Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
1657 passes it directly to compilation commands.
1659 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1661 Move to git as primary source repository.
1662 * Makefile.am (git-dist, git-release): Renamed and adjusted from ...
1663 (cvs-dist, cvs-release): ... these.
1664 (git-diff): New target, taken and adjusted from cvs-diff.
1665 * Makefile.in: Regenerate.
1666 * bootstrap: Adjust.
1667 * NEWS: Announce change.
1668 * doc/automake.texi (General Operation): cvs-dist is git-dist now.
1669 (Timeline): Mention change.
1671 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1673 * automake.in: Treat extension .sx also like preprocessed
1674 assembler (.S), following GCC.
1676 * doc/automake.texi (Assembly Support): Adjust.
1677 * tests/asm3.test: New test.
1678 * tests/Makefile.am: Update.
1680 2007-10-09 Jim Meyering <meyering@redhat.com>
1682 Add lzma compression support.
1684 * automake.in (handle_dist): Recognize dist-lzma.
1685 (make_paragraphs): Map LZMA to dist-lzma.
1686 * doc/automake.texi (Dist): Add dist-lzma.
1687 (Options): Likewise.
1688 * lib/Automake/Options.pm (_process_option_list):
1689 (dist dist-all): Add command to create an lzma-compressed tarball.
1690 (distcheck): Handle lzma-compressed tarballs just like the others.
1691 * tests/defs.in: Test for lzma, too.
1692 * tests/lzma.test: New file, based on nogzip.test.
1693 * tests/Makefile.am (TESTS): Add lzma.test.
1694 Suggestion from Karl Berry.
1696 2007-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1698 * automake.in (TARGET_PATTERN): Allow leading digit.
1699 * tests/exeext3.test: Adjust to expose this.
1700 Report by Claudio Fontana and Laurence Finston.
1702 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1704 * tests/defs.in (required): For gcj, check whether `gcj -v'
1705 works, to avoid broken installations without libgcj.spec.
1707 * tests/gcj4.test: Setting GCJ not needed any more.
1709 Report by Jesse Chisholm.
1711 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1713 * lib/config-ml.in, lib/config.guess, lib/config.sub,
1714 lib/symlink-tree, lib/texinfo.tex: New upstream versions.
1716 2007-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1718 * doc/automake.texi (gettext): Fix link to gettext manual.
1720 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1722 In ChangeLog files, use more-permissive notice rather than GPL,
1723 as per usual GNU standards these days.
1725 2007-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1727 * automake.in (handle_programs): Also clean .libs/_libs
1728 directory for _PROGRAMS.
1729 * tests/libtoo10.test: New test.
1730 * tests/Makefile.am: Update.
1732 Report by Guillermo Ontañón.
1734 2007-08-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1736 * configure.ac: Actually require version 2.60 in the test for
1737 Autoconf, and recommend it in the error messages.
1739 Report by Robert Swafford.
1741 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1743 * doc/automake.texi (VPATH Builds): Fix wording.
1744 Report by Reuben Thomas.
1746 2007-07-22 Noah Misch <noah@cs.caltech.edu>
1748 * tests/subst.test: Move the AC_SUBST into a macro definition.
1749 Avoids an error from CVS Autoconf.
1751 Report by Benoit Sigoure.
1753 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1754 Alexandre Duret-Lutz <adl@gnu.org>
1756 * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target
1757 $(am__aclocal_m4_deps) without any dependencies, to avoid the
1758 "deleted .m4 file" problem.
1759 * tests/acloca22.test: New test.
1760 * tests/Makefile.am: Update.
1763 2007-07-22 Francesco Salvestrini <salvestrini@gmail.com>
1764 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1766 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES)
1767 (uninstall-%DIR%LTLIBRARIES): Use $(AM_LIBTOOLFLAGS) and
1769 * lib/am/progs.am (install-%DIR%PROGRAMS)
1770 (uninstall-%DIR%PROGRAMS): Likewise.
1771 * tests/libtool7.test: Update test for `install' and
1773 * NEWS, THANKS: Update.
1775 2007-07-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1777 * doc/automake.texi: Remove Front-Cover and Back-Cover Texts,
1778 this manual is not printed by the FSF.
1780 2007-07-16 Alexandre Duret-Lutz <adl@gnu.org>
1782 * NEWS: Clarify that COPYING files are not updated.
1784 2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1786 * doc/automake.texi: New Back-Cover Text.
1787 Report by Karl Berry.
1789 2007-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1791 * aclocal.in (version): Fix output to match GCS requirements.
1792 * automake.in (version): Likewise.
1793 Report by Eric Blake.
1795 * COPYING, lib/COPYING: Update to GPLv3. All uses changed.
1798 2007-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1800 * lib/gnupload: Fix shell portability issues with for loops.
1801 Report by Karl Berry.
1803 2007-06-23 Paul Eggert <eggert@cs.ucla.edu>
1804 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1806 * aclocal.in (write_aclocal): Warn about autoconf
1807 incompatibilities instead of making them fatal.
1808 * tests/missing4.test: Adjust.
1810 Problem reported by Bruno Haible in
1811 <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
1813 2007-05-03 Stepan Kasal <kasal@ucw.cz>
1815 * doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
1816 * automake.in: Likewise.
1817 (am_primary_prefixes): Keep the intentional typo there.
1819 2007-04-25 Eric Blake <ebb9@byu.net>
1821 * doc/stamp-vti: Remove generated file from revision control.
1822 * doc/version.texi: Likewise.
1824 2007-04-23 Reuben Thomas <rrt@sc3d.org> (tiny change)
1826 * doc/automake.texi (Python): Fix typo.
1828 2007-03-30 Eric Blake <ebb9@byu.net>
1829 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1831 * lib/mdate-sh (ls_command): Use -n when available to avoid
1832 problems with spaces in user/group names.
1833 * tests/mdate5.test: New test.
1834 * tests/Makefile.am: Adjust.
1836 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1838 * automake.in (handle_tests): Rewrite XFAIL_TESTS just like
1839 TESTS, appending $(EXEEXT), so that matching continues to work
1841 * NEWS: Mention this.
1842 * doc/automake.texi (EXEEXT, Extending): Update.
1843 * tests/check7.test: New test.
1844 * tests/Makefile.am: Adjust.
1845 Bug report by Ed Hartnett.
1847 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1849 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search
1850 the whole file, but use sed to reduce the line length.
1851 Fixes 1.10 regression. Report by David Byron.
1852 * THANKS, NEWS: Update.
1854 2007-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1856 * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64
1857 one. Fixes failure to catch dependencies with libtool and xlc
1858 in case of enable_static=no (which is the default on AIX without
1860 * tests/depcomp7.test: Run test once with --disable-shared and
1861 once with --disable-static, to expose failure systematically.
1864 2007-03-29 Stepan Kasal <kasal@ucw.cz>
1865 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1867 * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message.
1868 * tests/pr401.test: Update to expose the error.
1869 * tests/pr401b.test: Likewise.
1870 * tests/pr401c.test: Likewise.
1872 2007-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1874 * automake.in (scan_autoconf_config_files): Warn about leading
1875 `./' in config file names.
1876 * tests/canon-name.test: New test.
1877 * tests/Makefile.am: Update.
1879 Suggestion by Claudio Fontana.
1881 * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES'
1882 as documented in the manual. Fixes parallel make failure.
1883 Report by Dieter Jurzitza.
1886 * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice.
1888 * TODO: Kill a couple of outdated items.
1889 * tests/exdir3.test: New test.
1890 * tests/Makefile.am: Update.
1892 2007-01-27 Bruno Haible <bruno@clisp.org>
1894 * doc/automake.texi (Multiple Outputs): Fix the multiple outputs
1895 with locking example.
1897 2007-01-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1899 * doc/automake.texi (Subpackages): Fix ambiguous wording.
1900 Report and suggestions by Reuben Thomas.
1903 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1905 * tests/defs.in (is_newest): Cope with multiple newer files.
1906 * NEWS: mention `install-sh -C'.
1908 2006-12-25 Paul Eggert <eggert@cs.ucla.edu>
1910 * lib/install-sh (initialize_posix_glob): New var.
1911 Use it instead of setting posix_glob inline.
1912 (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
1913 (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
1915 Use LC_ALL before invoking 'ls' when we depend on its output format.
1916 Don't use awk; just use the shell's builtin features.
1917 Clean up $dsttmp if -C detects no installation is needed.
1918 * tests/defs.in (is_newest): Renamed from is_younger; the new
1919 name is more accurate. All uses changed.
1920 (old_timestamp): New var.
1921 * tests/instsh2.test: Rewrite to avoid the need for sleeping.
1923 2006-12-25 Akim Demaille <akim@epita.fr>
1925 * lib/install-sh: Implement install-sh -C.
1926 (This patch is the remaining part of the patch proposed in
1927 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
1928 (usage): Document it.
1929 (copy_on_change): New var.
1930 * tests/defs.in (is_younger): New function.
1931 * tests/instsh2.test: Check install-sh -C.
1933 2006-12-24 Paul Eggert <eggert@cs.ucla.edu>
1935 * lib/install-sh: Fix typo in previous patch for handling --.
1936 Use more-consistent style for ';;'.
1937 Prefer || to if-then-else-:.
1938 * tests/install2.test: Rework to avoid set -e problems.
1940 2006-12-24 Akim Demaille <akim@epita.fr>
1942 Simplify install-sh and its test. This shouldn't change any behavior.
1943 (This patch is a subset of the patch proposed in
1944 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
1945 * lib/install-sh (usage): Use usual GNU style.
1946 (dstarg): Rename as...
1947 (dst_arg): this for consistency.
1948 Simplify quoting of assignments.
1950 Don't use '\' to continue commands: && suffices.
1951 Remove useless "continue" in the argument processing,
1952 and factor the shifts.
1953 * tests/defs.in: Some improvements to make it set -e clean.
1954 Use the traditional ":" trick to protect loops from being empty.
1955 Remove an empty straightforward piece of code prepared to define
1956 additional variables.
1957 Use test instead of [], for consistency.
1958 * tests/install2.test: Use set -e, to simplify code.
1960 2006-12-20 Reuben Thomas <rrt@sc3d.org> (tiny change)
1962 * doc/automake.texi: Fix typo.
1964 2006-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1966 * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
1967 amhello, to prevent gmake from invoking make with MAKEFLAGS
1968 it does not understand.
1969 Report by Patrick Welche.
1971 * lib/gnupload: Revert last change. Add pointer to upload
1972 instructions of the GNU Maintenance Instructions.
1973 Suggestion by Karl Berry.
1975 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1977 * lib/gnupload: Add missing 'gnu' to example URL.
1978 Report by Karl Berry.
1980 2006-10-28 Bobby Jack <bobbykjack@yahoo.co.uk> (tiny change)
1982 * doc/automake.texi (amhello Explained): autoconf creates
1983 configure, not configure.ac.
1986 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1988 * doc/automake.texi (Dist, Dependency Tracking Evolution):
1990 * lib/Automake/Condition.pm: Likewise.
1991 * lib/Automake/DisjConditions.pm: Likewise.
1992 * lib/Automake/ItemDef.pm: Likewise.
1993 * lib/Automake/Options.pm: Likewise.
1994 * lib/Automake/Rule.pm: Likewise.
1995 * lib/Automake/VarDef.pm: Likewise.
1996 * lib/Automake/Variable.pm: Likewise.
1997 * lib/Automake/Wrap.pm: Likewise.
1998 * lib/Automake/XFile.pm: Likewise.
1999 * m4/substnot.m4: Likewise.
2001 2006-10-16 Alexandre Duret-Lutz <adl@gnu.org>
2003 * lib/gnupload: Update to version 1.1 of directive file.
2005 2006-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2007 * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes
2008 right before the expanded source file name.
2009 * automake.in (%sourceflags): New global: per-extension flag
2010 to denote that the next compiler argument is the source file.
2011 (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize
2012 %sourceflags accordingly.
2013 (handle_single_transform): Store source file extension in...
2014 (%lang_specific_files): ...this and...
2015 (handle_languages): ...adjust here. Pass flag in SOURCEFLAG.
2016 * doc/automake.texi (Optional): Add AC_FC_SRCEXT.
2017 (Fortran 9x Support): Update.
2018 * tests/fort2.test: New test.
2019 * tests/Makefile.am: Adjust.
2020 * NEWS, THANKS: Update.
2021 Suggested by Steven G. Johnson.
2023 For PR automake/480.
2024 * automake.in (lang_f77_rewrite, lang_fc_rewrite)
2025 (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite):
2026 return `lang_sub_obj' to support subdir-object mode for the
2028 * tests/fort4.test, tests/fort5.test: New tests.
2029 * tests/Makefile.am: Update.
2030 * NEWS, THANKS: Update.
2031 Report by Davyd Madeley and Shannon L. Brown.
2033 * lib/am/header-vars.am (pkglibexecdir): New variable.
2034 * automake.in (%standard_prefix): Add it.
2035 * doc/automake.texi (Uniform): Document it.
2036 (Program Sources): Adjust.
2038 * tests/libexec.test: New test.
2039 * tests/Makefile.am: Update.
2040 Suggested by Eric Blake.
2042 2006-10-15 Alexandre Duret-Lutz <adl@gnu.org>
2044 * lib/gnupload: Update to version 1.1 of directive file.
2046 * configure.ac, NEWS: Bump version to 1.10a.
2048 * configure.ac, NEWS: Bump version to 1.10.
2049 * doc/automake.texi (Releases): Update for 1.10.
2051 * lib/config.sub, lib/texinfo.tex: New upstream versions.
2053 * lib/am/depend2.am: Typo.
2054 * lib/depcomp (scriptversion): Bump, to account for recent changes.
2056 * doc/automake.texi (Examples): Introduce the example, and point
2058 (Hello): Remove this obsolete node.
2060 2006-10-15 Hans Ulrich Niedermann <hun@n-dimensional.de>
2061 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2063 For PR automake/507:
2064 * lib/am/distdir.am (distdir): filename-length-max check is not
2065 done in sub-packages.
2066 * doc/automake.texi (Options): Document this.
2067 * tests/fn99subdir.test: New test.
2068 * tests/Makefile.am: Update.
2071 2006-10-14 Alfred M. Szmidt <ams@gnu.org> (tiny change)
2073 * doc/automake.texi (Third-Party Makefiles): Fix typo.
2076 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2078 * aclocal.in (write_aclocal): Improve warning for mismatched
2081 * automake.in: For preprocessed assembler, add `$(DEFS)
2082 $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
2083 * doc/automake.texi (Assembly Support): Update.
2085 Suggested by Thomas Schwinge and Ralf Corsepius.
2087 For PR automake/492.
2088 * automake.in (output_flag): Set to `-o' for Assembler and
2089 preprocessed Assembler, assuming that all understand `-c -o'.
2090 * THANKS, NEWS: Update.
2091 * tests/subobj10.test: New test.
2092 * tests/Makefile.am: Update.
2093 Report by Thomas Schwinge.
2095 * automake.in (%_macro_for_cond): New variable.
2096 (cond_stack_if): Use it for better error message about
2097 missing dependency tracking conditionals.
2098 * tests/asm2.test: New test, modeled after asm.test.
2099 * tests/Makefile.am: Adjust.
2100 Report by Ralf Corsepius.
2102 * doc/automake.texi (Options): `no-dependencies' is similar
2103 to `--ignore-deps', not `--include-deps'.
2104 * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
2106 * tests/nodep2.test: New test.
2107 * tests/Makefile.am: Adjust.
2109 * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
2110 LIBOBJDIR, then we should not add a DEPDIR prefix.
2111 * tests/pr401.test: Update test.
2112 * tests/pr401b.test: Likewise.
2113 * tests/pr401c.test: Likewise.
2114 Report by Jim Meyering and Eric Blake.
2116 * lib/depcomp (gcc3): Put dependency extraction flags before the
2117 `-c' flag, so they appear at the same position as in %FASTDEP%
2118 mode in depend2.am. Fixes build failure for FreeBSD's c89,
2119 which ignores unknown options only after the first non-option.
2120 Bug report against M4 by Nelson H. F. Beebe.
2122 2006-10-14 Bruno Haible <bruno@clisp.org>
2123 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2125 * automake.in ($seen_gettext_intl): New variable.
2126 (handle_gettext): Consider it.
2127 (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
2128 Set $seen_gettext_intl when it is seen.
2129 * doc/automake.texi (gettext, Optional): Update.
2130 * tests/gettext3.test: New test.
2131 * tests/Makefile.am: Update.
2133 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
2135 * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
2136 which incorrectly sets the mode of an existing destination
2137 directory. In some cases the unpatched install-sh could do the
2138 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
2139 system. We hope this is rare in practice, but it's clearly worth
2140 fixing. Problem reported by Alex Unleashed in
2141 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
2142 Also, don't bother to check for -m bugs unless we're using -m;
2143 suggested by Stepan Kasal.
2145 2006-10-14 Geoffrey Keating <geoffk@apple.com> (tiny change)
2147 * m4/multi.m4: Non-default multilibs may be cross compilation.
2149 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2151 * automake.in: Fix some typos in comments.
2152 * lib/Automake/Variable.pm: Likewise.
2154 2006-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2156 * automake.in (handle_compile): Use subst, for maintainer-check.
2158 2006-10-09 Andreas Köhler <andi5.py@gmx.net> (tiny change)
2160 For PR automake/505:
2161 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
2162 Fix typo: `config.status.lineno', not `configure.status.lineno'.
2164 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2166 * NEWS: Mention that `install-sh' needs executable permissions.
2167 * tests/nobase.test: Adjust.
2168 Report by Patrick Welche.
2170 2006-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2172 * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
2173 against currently running test for the first and last element
2174 of $(TESTS): add spacing so Solaris make does VPATH expansion
2175 on these words, too.
2176 * tests/check6.test: Update.
2178 2006-08-30 Paul Eggert <eggert@cs.ucla.edu>
2180 For PR automake/501:
2181 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%):
2182 Abbreviate output a bit by not bothering to quote the .Po file
2183 name (the quoting doesn't suffice in general anyway), and by not
2184 bothering to remove junk .Tpo files (as they'll be removed later).
2185 This also lets 'make' run faster by avoiding a subshell.
2187 2006-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2189 * automake.in: Fortran 77 and Fortran should require variables
2190 F77 resp. FC to be defined, and suggest the respective Autoconf
2192 * tests/fort1.test: New test.
2193 * tests/Makefile.am: Update.
2195 * tests/ext.test: Add extensions f95, F90, F95.
2197 2006-08-30 Alexandre Duret-Lutz <adl@gnu.org>
2199 For PR automake/500:
2200 * automake.in (handle_compile) <$default_includes>: Do not output
2201 the same -I twice. Use @am__isrc@ instead of ` -I$(srcdir)'.
2202 * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in
2203 non-VPATH builds since we always have `-I.'.
2204 * tests/subpkg.test: Make sure config headers are found in VPATH
2205 and non-VPATH builds.
2207 2006-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2209 * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
2210 * NEWS: Likewise. Clarify that only one LIBOBJDIR is supported.
2212 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
2214 * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
2215 is enabled by default with gnu and gnits strictness.
2216 Report from Bruno Haible.
2218 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
2220 * NEWS: Mark de-ANSI-fication as being obsolete.
2221 * doc/automake.texi: Likewise.
2223 2006-08-21 Stepan Kasal <kasal@ucw.cz>
2225 * Makefile.am, THANKS: Fix typos.
2227 2006-08-20 Alexandre Duret-Lutz <adl@gnu.org>
2229 * NEWS, configure.ac: Bump version to 1.9c.
2231 * NEWS, configure.ac: Bump version to 1.9b.
2233 * Makefile.am (maintainer-check): Check for mkdir_p in automake.in
2235 * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
2237 * m4/mkdirp.m4: Typo in previous patch.
2239 * Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
2240 check so it doesn't complain about the '@ 's in node "Standard
2241 Directory Variables".
2243 * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
2246 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
2247 $(top_builddir)/ if it is a relative directory.
2249 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2251 * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
2252 ylwrap. Suggested by Akim Demaille long ago, to ease maintenance.
2253 * automake.in (handle_languages): Do not define MORE-THAN-ONE.
2254 (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
2256 * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
2257 documentation of ylwrap.
2258 * tests/lex.test, tests/lex4.test, tests/mmodely.test,
2259 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
2260 tests/yaccpp.test: Adjust.
2262 * doc/automake.texi (Releases): Update statistics until 1.9.6.
2264 * Makefile.am (maintainer-check): Check for mkdir_p.
2265 * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
2266 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
2267 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
2268 lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
2269 lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
2270 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
2271 as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
2272 mkdir_p without defining MKDIR_P.
2273 * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
2276 * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
2277 * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
2278 -I m4. Running aclocal during the rebuild rules will fail
2279 if the default acdir does not exist.
2281 * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
2282 Require Autoconf 2.60 instead of some intermediate development
2285 * doc/automake.texi (Standard Directory Variables): Fix multitable
2287 (Autotools Introduction): Fix @uref usage.
2289 2006-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2291 * doc/automake.texi: Fix some typos in the introduction,
2292 adjust some spacing; spell `GNU Build System' consistently.
2293 (menu): Unify node naming.
2294 (Standard Directory Variables): Clarify that this list is not
2296 (DESTDIR): Fix example.
2298 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2300 * doc/automake.texi (Autotools Introduction) New chapter.
2301 Thanks to Ben Pfaff and Ralf Wildenhues for comments.
2302 (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
2303 (distcleancheck): More cross references.
2304 * doc/amhello/configure.ac, doc/amhello/README,
2305 doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
2306 doc/amhello/src/main.c: New files.
2307 * doc/Makefile.am (dist_noinst_DATA): Distribute them.
2308 ($(srcdir)/amhello-1.0.tar.gz): New rule.
2309 (dist_doc_DATA): Install amhello-1.0.tar.gz.
2310 * Makefile.am (SUBDIRS): Update comment.
2312 2006-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2314 * doc/automake.texi: Fix some typos.
2316 2006-08-14 Jonathan Higa <jthiga@gmail.com>
2318 * automake.in: Register "Unified Parallel C" as language.
2319 (lang_upc_rewrite): New function.
2320 (resolve_linker): Consider UPCLINK.
2321 * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
2322 AM_PROG_UPC for UPC and UPCFLAGS.
2323 * m4/upc.m4: New file.
2324 * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
2325 * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
2326 * doc/automake.texi (Unified Parallel C Support): New node.
2327 (Public macros): Mention AM_PROG_UPC.
2328 (Program and Library Variables, Flag Variables Ordering):
2330 * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
2331 * tests/Makefile.am (TESTS): Add them.
2332 * tests/ext.test: Also test upc files.
2334 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
2336 * doc/automake.texi (Scripts): Fix some errors in previous patch.
2338 * doc/automake.texi (Scripts): Revamp. Show an example of script
2339 built from configure.ac. Discuss CLEANFILES and EXTRA_DIST for
2340 other built scripts.
2342 * m4/init.m4: Suggest fixing the call to AC_INIT when
2343 AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined. This is for
2344 newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
2345 * tests/init.test: New file.
2346 * tests/Makefile.am (TESTS): Add it.
2348 2006-08-04 Stepan Kasal <kasal@ucw.cz>
2350 * automake.in (dist_dirs, fill_dist_dirs): Remove.
2351 * lib/am/distdir.am (DISTDIRS): Remove.
2352 * tests/distdir.test, tests/pr2.test: Do not grep, use
2353 `make distdir' instead.
2355 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
2357 * doc/automake.texi (Conditionals): Split in two sections, "Usage"
2358 and "Portability", and add a third one, "Limits" to explain how
2359 conditional definitions inside multi-lines definitions can be
2361 * automake.in (handle_options): Do not assume that
2362 AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
2363 definitions of AUTOMAKE_OPTIONS.
2364 Report from Bas Wijnen.
2365 * tests/amopt.test: New test.
2366 * tests/Makefile.am (TESTS): Add it.
2368 * aclocal.in (install_file): Cannot use /dev/null while diffing
2369 new files, because Tru64's diff do not handle /dev/null. So
2370 create an empty destination file before running diff on a new
2371 file, and erase it afterward. Fall back to using /dev/null only
2372 if we cannot create this file.
2373 Report and initial patch from Ralf Wildenhues.
2374 (unlink_tmp): New function.
2375 * test/acloca18.test: Make sure the empty file has been erased.
2377 2006-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2379 * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
2380 do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
2381 to help BSD Make find the files also in a VPATH build.
2382 Also return the same path, possibly prefixed, for correct
2384 * tests/pr401.test: Update to expose wrong depdir computation.
2385 Rewrite to not use the same file name for library object and
2387 * tests/pr401b.test, tests/pr401c.test: Likewise.
2389 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
2391 * lib/install-sh: Don't incorrectly claim that this implementation
2392 can install only one file at a time.
2393 (doit_exec): New var, for using 'exec' if possible, to save a process.
2394 (test_mode, intermediate_mode): Remove.
2395 (mode): Check for IFS or globbing characters in mode, since they might
2396 cause weird behavior with the other changes below. All later uses
2397 of '"$mode"' changed to '$mode', since the ""s no longer matter.
2398 Use octal modes if the invoker specifies an octal mode, and use
2399 octal umask values if 'umask' outputs octal values; this is more
2400 likely to work with older operating systems since Automake uses
2401 octal modes, and also works around a bug with HP-UX 11.23
2402 'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
2403 <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
2404 (cp_umask, mkdir_umask): New variables, to avoid
2405 temporarily creating files or directories with too-permissive modes.
2406 (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
2407 intermediate directories; this is safer.
2408 (posix_mkdir): Also test mkdir -p -m ... by making a directory in
2409 /tmp and checking the resulting mode with 'ls', to catch a bug in
2410 HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
2411 Use ':' for true, not 'true'; this is a bit faster on
2412 traditional implementations.
2414 2006-07-09 Jim Meyering <jim@meyering.net>
2416 * lib/depcomp: "in in" -> "in" in comment.
2418 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2420 * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
2421 for consistency with the recommendation prompted by this report:
2422 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
2424 2006-06-24 Stepan Kasal <kasal@ucw.cz>
2425 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2427 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
2428 `'$(MKDIR_P)'', so that it retains the per-directory value
2429 computed by config.status.
2430 * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
2431 a changed directory. Bugs reported by Ralf Menzel.
2434 2006-06-24 Eric Dorland <eric@debian.org>
2435 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2437 * automake.in (scan_texinfo_file): Fix matching file extension.
2438 * tests/txinfo31.test: New test.
2439 * tests/Makefile.am: Update.
2441 2006-06-07 Alexandre Duret-Lutz <adl@gnu.org>
2443 * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
2445 2006-06-07 Stepan Kasal <kasal@ucw.cz>
2447 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
2449 2006-06-06 Stepan Kasal <kasal@ucw.cz>
2450 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2452 * lib/am/distdir.am: Do not call $(mkdir_p) for each
2453 distributed file, collect them and create them in one run,
2454 and strip $(srcdir) and $(top_srcdir) all at once.
2455 Fix some comment typos.
2457 2006-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2459 * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
2460 7.4.4m may omit the first included header dependency information
2461 with `-MDupdate'. Refine test to catch this.
2463 * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
2466 * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
2467 requires `config.rpath' to be present, and automake now enforces
2468 this. Test this, but only if the gettext installation works and
2469 is recent enough to provide this diagnosis.
2470 * tests/gettext.test: Provide a dummy `config.rpath' for all
2472 * tests/gettext2.test, tests/subcond.test: Likewise.
2474 * tests/pr401.test: Replace "perl -i" with sed and mv, for
2476 * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
2477 * tests/yacc6.test, tests/yacc8.test: Likewise.
2479 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
2480 plain `grep' on the Makefile, as its line length may exceed that
2481 for grep. Bug report against coreutils by Sam Sirlin.
2484 2006-05-26 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
2486 * doc/automake.texi (Options): Add anchor `tar-formats'.
2488 2006-05-25 Noah Misch <noah@cs.caltech.edu>
2490 * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
2491 ENOLCK. Only mention `make -j' when applicable. Only raise
2492 fatal errors when `make -j' is involved. Improve error message.
2494 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2496 * lib/Automake/Configure_ac.pm (find_configure_ac): Use
2497 `$configure_in' instead of `configure.in', to preserve
2498 directory component.
2499 * lib/Automake/Configure_ac.pm: Add note that Automake owns
2501 * lib/Automake/Channels.pm: Likewise.
2502 * lib/Automake/FileUtils.pm: Likewise.
2503 * lib/Automake/Struct.pm: Likewise.
2505 2006-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2507 * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
2508 New upstream versions.
2510 2006-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2512 * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
2513 repository, they use SVN now.
2515 2006-05-13 Werner Lemberg <wl@gnu.org>
2517 * lib/gnupload: Add support for savannah.gnu.org and
2518 savannah.nongnu.org.
2520 2006-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2522 * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
2523 lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
2524 lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
2526 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
2528 * lib/install-sh: Sync from Autoconf, as follows:
2529 Don't use 'path' to talk about file names,
2530 as per GNU coding standards. Close a race condition reported by Ralf
2531 Wildenhues and Stepan Kasal. There is still a race condition
2532 on hosts that predate Posix 1003.1-1992, but we can't help this.
2533 Don't mishandle weird characters like space on pre-Posix hosts.
2534 Invoke mkdir at most once per dir arg on pre-Posix hosts.
2536 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2538 * tests/missing.test, tests/missing2.test: Do not require
2540 * Makefile.am (maintainer-check): Make sure `required=' does not
2541 follow `. ./defs' in the tests.
2543 * tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that
2544 ac_cv_prog_cc_stdc isn't just used by Automake code in
2546 * tests/ansi6.test, tests/ansi7.test: Likewise.
2547 * tests/ansi9.test: Likewise. Do not override by setting
2548 $U and $(ANSI2KNR) at `make' time; that will be fragile.
2549 * tests/libobj8.test: Use AC_PROG_CC_STDC.
2550 * tests/subobj3.test: Likewise. Use `set -e'.
2552 * lib/install-sh: Initialize IFS, so field splitting isn't
2554 * lib/mkinstalldirs: Likewise.
2556 * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
2557 the path of the prerequisite added; IRIX 6.5 make does not add
2558 it, Solaris 2.6 make is inconsistent about adding it. Fixes
2561 * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
2562 files in the source tree. Fixes failures with HP-UX and Tru64
2565 * lib/am/ansi2knr.am (ansi2knr): Rename target as...
2566 (./ansi2knr): ...this, for BSD make.
2567 (%ANSI2KNR-DIR%/ansi2knr): Adjust.
2569 2006-05-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2571 * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
2572 /bin/sh -e issue with failing commands in if clauses.
2574 * tests/defs.in (Be Bourne compatible): Update from current
2577 * configure.ac: Recommend perl-5.8.2.
2578 * tests/automake.test: Do not fail because of buggy Getopt::Long
2581 * tests/longlin2.test: Do not use `grep' on Makefile.am:
2582 it has long lines and is thus not a text file; AIX 5.1 grep
2583 fails to scan non-plain patterns from long lines.
2585 * tests/overrid.test: Change all regexes for warning messages to
2586 match after a colon, so that the prepended file names do not
2587 cause false matches. Tighten overrides regex. Fix typo
2588 `cleam-am-local' -> `clean-am-local'.
2590 * tests/java.test: `configure' uses a trap, so use `(exit 77);
2591 exit 77' to portably set the exit status similar to AS_EXIT.
2592 * tests/fn99.test: propagate nonzero exit status from subshell.
2594 * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
2595 if ``pwd`' contains the string `-p'. Create the wrapper in a
2596 subdirectory so that `.' in $PATH does not lead to an endless
2599 * lib/depcomp (ia64hp): Rename dependency style to..
2600 (hp2): ..this, as it works with aCC on HPPA, too; adjust
2601 comment. Report by Olivier Fourdan (PR automake/481).
2604 * tests/aclocal7.test: Add `$sleep's between file touching
2605 and automake resp aclocal+automake invocations, to ensure
2606 they complete with a time stamp strictly later than the touched
2609 * lib/missing: Remove superfluous quotes. Replace all uses of
2610 `[' by `test', for consistency, and for..
2611 * tests/missing5.test: ..this new test.
2612 * tests/Makefile.am: Update.
2614 * lib/missing (sed_minuso, sed_output): New variables.
2615 (autom4te, help2man, makeinfo): Use them. Unifies detection of
2616 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
2617 Fixes `missing' to detect `--output' for help2man. Fixes
2618 PR automake/483. Report by Dennis J. Linse.
2619 (autom4te): Document in `missing --help'.
2622 2006-04-26 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
2624 * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
2626 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2628 * lib/install-sh: Simplify the expr implementation of dirname.
2630 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
2632 * lib/install-sh: Handle --, and diagnose unknown options.
2633 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
2634 mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
2635 the other ways that mkdir_p might be set.
2637 2006-04-21 Alexandre Duret-Lutz <adl@gnu.org>
2639 * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
2640 (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
2641 * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
2642 (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
2643 Doing so ensures that users cannot build configure and Makefiles
2644 with two different autoconf versions. Report from Noah Misch.
2645 * tests/missing4.test: New file.
2646 * tests/Makefile.am (TESTS): Add it.
2648 2006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change)
2649 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2651 * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
2652 failed, instead of when the last one failed (PR automake/488).
2653 Report from Paul Lunau.
2654 * tests/dejagnu4.test: Update to expose this.
2657 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2659 * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
2660 TABs as well as spaces. Fixes PR automake/490.
2661 * tests/check6.test: New test.
2662 * tests/Makefile.am, THANKS: Update.
2663 Report from Diab Jerius <djerius@cfa.harvard.edu>.
2665 2006-04-17 Stepan Kasal <kasal@ucw.cz>
2667 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
2668 description; eliminate the duplicate error message.
2669 * doc/automake.texi (@direntry): `Invoking Automake' is the name
2670 of the usage node for `automake'
2671 * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
2674 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2676 * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
2677 because it uses `datarootdir'. Bump copyright year and serial.
2679 2006-04-10 Stepan Kasal <kasal@ucw.cz>
2683 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
2685 * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
2686 (_gen_varname): Use _hash_values, and return a flag indicating whether
2687 the variable name was generated or reused.
2688 (transform_variable_recursively): Do not redefine variables that
2689 are reused, and try to reuse the variable being transformed.
2690 * tests/check2.test: Make sure TESTS hasn't been redefined.
2691 * tests/check5.test, tests/exeext4.test: Make sure variables have
2693 * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
2695 * automake.in (%ignored_configure_vars): New variable.
2696 (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
2697 %ignored_configure_vars.
2698 (define_configure_variable): Declare ignored configure variables
2699 as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR
2701 * m4/substign.m4: New file.
2702 * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
2703 * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
2704 * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
2705 * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
2706 * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
2707 * tests/amsubst.test: New file.
2708 * tests/Makefile.am (TESTS): Add it.
2710 2006-04-09 Stepan Kasal <kasal@ucw.cz>
2711 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2713 * automake.in (handle_single_transform): Preserve directories in
2714 direct suffix rules.
2715 * tests/suffix12.test: New test.
2716 * tests/Makefile.am (TESTS): Add it.
2717 Report from John Ratliff.
2719 2006-03-25 Mike Frysinger <vapier@gentoo.org> (tiny change)
2720 Alexandre Duret-Lutz <adl@gnu.org>
2722 * aclocal.in ($m4_include_rx): Do not recognize `include', and
2723 adjust scan_configure_dep and scan_file accordingly.
2724 (scan_configure_dep): Do not search white lines.
2725 (scan_file): Strip comments from current line after checking
2726 for serial, so that aclocal does not trip on `m4_include' macros
2727 in comments. Report from Mike Frysinger.
2728 * tests/acloca21.test: New file.
2729 * tests/Makefile.am (TESTS): Add it.
2731 2006-03-24 Stepan Kasal <kasal@ucw.cz>
2733 * tests/mmodely.test: Fix the test on systems with no lex.
2735 2006-03-23 Stepan Kasal <kasal@ucw.cz>
2737 * automake.in (libtool_new_api): Fix a typo in the comment.
2738 * lib/Automake/Makefile.am (Config.pm): Likewise.
2739 * lib/am/depend2.am: Likewise.
2740 * tests/xsource.test: With `set -e', `|| exit 1' is no longer
2743 2006-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2745 * tests/depcomp6.test, tests/depcomp7.test: Change back to
2746 using `$MAKE && exit 1', but make sure the last command in the
2749 2006-03-21 Clifford Wolf <clifford@clifford.at> (tiny change)
2750 Stepan Kasal <kasal@ucw.cz>
2751 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2753 * aclocal.in (parse_arguments): Added wildcard support to the
2755 * doc/automake.texi (Macro search path): Document it.
2756 * tests/dirlist2.test: New test.
2757 * m4/dirlist, tests/Makefile.am: Adjust.
2759 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2761 * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
2762 to `AC_PROG_OBJC' if provided, to fix Objective C depmode
2764 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
2766 * tests/ext.test: Adjust.
2767 * tests/objc.test, tests/objc2.test: New tests.
2768 * tests/Makefile.am: Adjust.
2769 * doc/automake.texi (Objective C Support): New node.
2770 (Support for Other Languages): Adjust.
2772 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2774 * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
2776 * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
2777 to work with `set -e'.
2779 * tests/depcomp6.test, tests/depcomp7.test: New tests,
2780 for general `depcomp' functionality, with and without
2781 `subdir-objects', with and without `libtool'.
2782 * tests/Makefile.am: Adjust.
2784 * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
2785 writing into it, to break a symlinked file.
2786 * tests/acloca20.test: New test.
2787 * tests/Makefile.am: Updated.
2789 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2791 Allow package trees (packages with subpackages) to share
2792 common distributed auxiliary files (and directories) that
2793 reside within a subpackage.
2795 * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
2796 `$(distdir)' already exists.
2797 (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
2798 removal of subpackage trees for distribution.
2799 * tests/subpkg3.test: New test.
2800 * tests/Makefile.am: Update.
2802 2006-03-18 Alexandre Duret-Lutz <adl@gnu.org>
2804 * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
2805 invocations to please maintainer-check.
2807 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
2809 * automake.in (lang_c_rewrite): Typo in previous change.
2810 * tests/ccnoco2.test: New file.
2811 * tests/Makefile.am (TESTS): Add ccnoco2.test.
2813 * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
2814 a 'portability' warning, so that people can ignore it. Suggested
2817 * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
2818 gnu and gnits modes.
2819 * doc/automake.texi (Invoking Automake): Adjust.
2821 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2823 * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
2824 `.lpp' file extensions are recognized.
2826 2006-02-21 Alexandre Duret-Lutz <adl@gnu.org>
2828 * doc/automake.texi (Complete, Extending aclocal, Public macros)
2829 (Python, Conditionals, API versioning): Always quote macro arguments.
2830 Report from Stepan Kasal.
2832 2006-02-16 Alexandre Duret-Lutz <adl@gnu.org>
2834 * doc/automake.texi (Python): More examples.
2836 2006-02-05 Alexandre Duret-Lutz <adl@gnu.org>
2838 * doc/automake.texi (distcleancheck): Fix bad wording. Report
2840 (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
2842 2006-01-29 Alexandre Duret-Lutz <adl@gnu.org>
2844 Append $(EXEEXT) to programs that may be listed in TESTS.
2845 Report from Simon Josefsson.
2847 * automake.in (%known_programs): New global.
2848 (initialize_per_input): Reset it.
2849 (append_exeext): Take a predicate as first argument to select
2850 the filename to rewrite.
2851 (handle_programs): Fill %known_programs.
2852 (handle_tests): Append $(EXEEXT) to all tests that are in
2854 (am_install_var): Update call to append_exeext.
2855 * doc/automake.texi (EXEEXT): TESTS is also rewritten.
2856 (Tests): More about the difference between check_PROGRAMS and TESTS.
2857 Give an example of TEST_ENVIRONMENT.
2858 * tests/cond32.test: Augment with a nested condition.
2859 * tests/exeext4.test: Also check TESTS.
2860 * tests/check5.test: New file.
2861 * tests/Makefile.am (TESTS): Add check5.test.
2863 2006-01-12 Paul Eggert <eggert@cs.ucla.edu>
2865 * lib/install-sh (dstdir): Don't use semicolons inside { } in
2866 sed scripts, as Posix says it's not portable.
2867 * lib/missing (file): Likewise.
2868 * lib/am/distdir.am (distcheck): Likewise.
2869 * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
2870 * tests/distcom2.test, tests/distcom3.test: Likewise.
2871 * tests/distcom4.test, tests/distcom5.test: Likewise.
2872 * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
2874 2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
2876 * ChangeLog: Move 2004's entries to ...
2877 * ChangeLog.04: ... this new file.
2878 * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
2880 * tests/txinfo13.test: Test fix below.
2882 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2884 * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
2885 extra files in distribution. Reported by Vincent Lefevre.
2887 2006-01-06 Alexandre Duret-Lutz <adl@gnu.org>
2889 * doc/automake.texi (Linking, Program and Library Variables):
2890 Mention the file extensions that usually appear in _DEPENDENCIES,
2891 and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A
2892 couple of people have been listing sources files in _DEPENDENCIES
2895 * doc/automake.texi: Bump copyright year.
2896 * automake.in ($gen_copyright, version): Likewise.
2897 * aclocal.in (write_aclocal, version): Likewise.
2899 2006-01-05 Stepan Kasal <kasal@ucw.cz>
2900 Alexandre Duret-Lutz <adl@gnu.org>
2902 * automake.in (topsrcdir): New global.
2903 (generate_makefile): Compute it.
2904 (fill_dist_dirs): New function extracted from handle_dist.
2905 (handle_dist, handle_configure): Use fill_dist_dirs.
2906 * tests/distdir.test: Test for cases where $(top_srcdir) or
2907 $(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer.
2909 2006-01-05 Zack Weinberg <zackw@panix.com>
2910 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2912 * lib/depcomp: Add 'ia64hp' dependency style.
2913 Zack's original patch was contributed to GCC on 2005-06-13.
2916 2005-11-01 Stepan Kasal <kasal@ucw.cz>
2918 * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
2919 the code is portable to both POSIX and pre-POSIX shells.
2921 2005-10-17 Alexandre Duret-Lutz <adl@gnu.org>
2923 * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
2924 suggested by Eric Blake.
2926 2005-10-17 Stepan Kasal <kasal@ucw.cz>
2928 * doc/automake.texi (Program and Library Variables): Typo.
2929 * lib/Automake/Variable.pm (transform_variable_recursively): Typo
2932 2005-10-03 Stepan Kasal <kasal@ucw.cz>
2934 * ChangeLog.03, automake.in, tests/overrid.test: Typos.
2936 2005-10-03 Alexandre Duret-Lutz <adl@gnu.org>
2938 * tests/nobase.test: Exercise previous patch.
2940 2005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change)
2942 * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
2943 * m4/strip.m4: Ditto.
2944 * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
2946 2005-09-13 Paul Eggert <eggert@cs.ucla.edu>
2948 * doc/automake.texi (limitations on file names): New section.
2949 * lib/install-sh: Rewrite to support '*' in file names.
2950 Also, tune so that we don't invoke so many commands in the usual case.
2951 This has the side effect of fixing `install-sh -d' to not fail if it
2952 loses the race in creating the last path component against another
2954 * tests/instspc.test: The "*" test is now fixed.
2956 2005-09-13 Stepan Kasal <kasal@ucw.cz>
2958 * automake.in (Languages) <cppasm>: Fix typo in the comment.
2960 2005-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2962 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
2963 shell in verbose mode.
2965 2005-08-07 Alexandre Duret-Lutz <adl@gnu.org>
2967 * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
2968 value of a conditionally defined variable.
2969 Report from Juergen Leising.
2971 * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
2972 $(MAKE) invocations.
2973 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
2975 * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
2976 * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
2977 * Makefile.am (maintainer-check): Check for this.
2978 Report from Stepan Kasal.
2980 * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
2981 Prompted by Stepan Kasal.
2983 2005-08-07 Stepan Kasal <kasal@ucw.cz>
2985 * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
2986 the $(infodir) exists.
2988 2005-07-31 Stepan Kasal <kasal@ucw.cz>
2990 * tests/library3.test: Fix a typo which made the test fail.
2992 2005-07-27 Alexandre Duret-Lutz <adl@gnu.org>
2994 * doc/automake.texi (Linking, Program and Library Variables):
2995 Suggest reserving -l for third-party libraries.
2997 * lib/Automake/Variable.pm (require_variables): Mention aclocal's
2998 search path when suggesting to add a macro in configure.ac.
2999 People are confused when Automake suggests adding a macro (such as
3000 AC_PROG_LIBTOOL) that is already in configure.ac.
3001 * automake.in (require_file_internal): Suggest `automake --add-missing'
3002 for missing files that can be installed.
3003 * tests/library3.test: Adjust.
3005 2005-07-27 Stepan Kasal <kasal@ucw.cz>
3007 * tests/defs.in: When required matches both `*libtool*' and
3008 `*gettext*', check for both m4 files.
3010 * doc/automake.texi (Auxiliary Programs): Fix a typo.
3011 * tests/suffix11.test: Fix a typo.
3012 * tests/colon3.test: s/EGREP/FGREP/.
3014 2005-07-19 Paul Eggert <eggert@cs.ucla.edu>
3016 * tests/instspc.test: Major rewrite to test for many other
3017 problematic file names, e.g., '$', '"', '('. Automake and
3018 Autoconf can't handle many of them, so do not report a failure
3019 if the usual candidates show up.
3021 2005-07-19 Stepan Kasal <kasal@ucw.cz>
3023 * Makefile.am (automake, aclocal): Merge the rules.
3025 2005-07-10 Alexandre Duret-Lutz <adl@gnu.org>
3027 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
3030 2005-07-09 Alexandre Duret-Lutz <adl@gnu.org>
3032 * lib/install-sh: Use IFS=/ to split directories on /, don't translate
3033 / into % as it prevents directory names using %...
3035 2005-07-09 Stepan Kasal <kasal@ucw.cz>
3037 * doc/automake.texi (Public macros): Typo.
3038 * aclocal.in: Typo in comment.
3040 2005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change)
3042 * lib/depcomp: Handle "#line" markers as well as "# " markers in
3043 "cpp" style, so it can work with newer HP compilers (for their
3046 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
3048 * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
3049 fix an underful hbox.
3050 * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
3051 New upstream versions.
3053 2005-07-01 Alexandre Duret-Lutz <adl@gnu.org>
3055 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
3057 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
3059 * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
3060 lib/am/header-vars.am no longer uses it.
3061 * lib/am/libtool.am (distclean-am, distclean-libtool): Define
3062 if TOPDIR_P is true, not TOPDIR.
3063 Suggested by Stepan Kasal.
3065 * automake.in (read_am_file): Correctly diagnose comments following
3067 * tests/commen10.test: New file.
3068 * tests/Makefile.am (TESTS): Add commen10.test.
3069 Report from Harald Dunkel.
3071 * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
3073 * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
3074 Do not define, they are AC_SUBST_TRACEd by Autoconf.
3075 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
3076 * tests/include.test: Call AC_OUTPUT.
3078 2005-06-29 Alexandre Duret-Lutz <adl@gnu.org>
3080 * lib/mkinstalldirs: Fix support for directory name with spaces if
3081 `mkdir -p' does not work.
3082 * tests/Makefile.am (TESTS): Add mkinst3.test.
3083 * tests/mkinst3.test: New file.
3084 Report from Noah Friedman.
3086 * doc/automake.texi (Include, Extending aclocal): Typos.
3087 Report from Karl Berry.
3089 2005-06-28 Stepan Kasal <kasal@ucw.cz>
3090 Alexandre Duret-Lutz <adl@gnu.org>
3092 * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
3093 * tests/txinfo28.test: Set TIME_STYLE.
3094 Report from Vincent Lefevre and James Youngman.
3096 2005-06-24 Alexandre Duret-Lutz <adl@gnu.org>
3098 * lib/Automake/Variable.pm (define, _new): Remember the helper
3099 variable created for the last conditional += on each variable, and
3100 only append further += in the same condition to this last helper
3101 variable, not to older helper variables. This way the order of
3102 the items appended to the variable is preserved.
3103 * tests/cond21.test: Adjust.
3104 * tests/cond38.test: New file.
3105 * tests/Makefile.am (TESTS): Add cond38.test.
3106 Report from Ed Hartnett.
3108 2005-06-22 Alexandre Duret-Lutz <adl@gnu.org>
3110 * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
3112 * automake.in (handle_footer): Do not output an unformatted
3113 definition of SOURCES, it is already done correctly in
3114 generate_makefile. This superfluous definition introduced long
3115 lines in some Makefiles, hence breakages in tools with a limited
3116 line length. Report from Mathias Froehlich.
3118 2005-06-11 Alexandre Duret-Lutz <adl@gnu.org>
3120 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
3121 Fix redirections in previous patch.
3123 2005-06-08 Alexandre Duret-Lutz <adl@gnu.org>
3125 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
3126 Do not backup any file if makeinfo is not installed.
3127 * lib/missing (makeinfo): Do not touch a missing info file.
3128 * tests/txinfo30.test: New file.
3129 * tests/Makefile.am (TESTS): Add txinfo30.test.
3130 Report from Bob Proulx.
3132 * doc/automake.texi (Extending aclocal): Typo.
3134 2005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change)
3136 * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
3138 2005-05-15 Alexandre Duret-Lutz <adl@gnu.org>
3140 Fix PR automake/461:
3141 * automake.in (require_build_directory): Canonicalize directories
3142 with different names, such as `foo/bar' and `./foo//bar'.
3143 * tests/subobj9.test: Augment to test that.
3144 Report from Tom Tromey.
3146 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
3148 * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
3149 ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
3150 NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
3151 configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
3152 lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
3153 lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
3154 lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
3155 lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
3156 lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
3157 lib/Automake/Condition.pm, lib/Automake/Config.in,
3158 lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
3159 lib/Automake/FileUtils.pm, lib/Automake/General.pm,
3160 lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
3161 lib/Automake/Location.pm, lib/Automake/Makefile.am,
3162 lib/Automake/Options.pm, lib/Automake/Rule.pm,
3163 lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
3164 lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
3165 lib/Automake/Version.pm, lib/Automake/Wrap.pm,
3166 lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
3167 lib/Automake/tests/DisjConditions.pl,
3168 lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
3169 lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
3170 lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
3171 lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
3172 lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
3173 lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
3174 lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
3175 lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
3176 lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
3177 lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
3178 lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
3179 lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
3180 lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
3181 lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
3182 lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
3183 m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
3184 tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
3185 tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
3186 tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
3187 tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
3188 tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
3189 tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
3190 tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
3191 tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
3192 tests/acsubst.test, tests/acsubst2.test, tests/all.test,
3193 tests/alloca.test, tests/alloca2.test, tests/alpha.test,
3194 tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
3195 tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
3196 tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
3197 tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
3198 tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
3199 tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
3200 tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
3201 tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
3202 tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
3203 tests/backsl3.test, tests/backsl4.test, tests/badline.test,
3204 tests/badopt.test, tests/badprog.test, tests/block.test,
3205 tests/bsource.test, tests/canon.test, tests/canon2.test,
3206 tests/canon3.test, tests/canon4.test, tests/canon5.test,
3207 tests/ccnoco.test, tests/check.test, tests/check2.test,
3208 tests/check3.test, tests/check4.test, tests/checkall.test,
3209 tests/clean.test, tests/clean2.test, tests/colneq.test,
3210 tests/colneq2.test, tests/colon.test, tests/colon2.test,
3211 tests/colon3.test, tests/colon4.test, tests/colon5.test,
3212 tests/colon6.test, tests/colon7.test, tests/comment.test,
3213 tests/comment2.test, tests/comment3.test, tests/comment4.test,
3214 tests/comment5.test, tests/comment6.test, tests/comment7.test,
3215 tests/comment8.test, tests/comment9.test, tests/compile.test,
3216 tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
3217 tests/cond.test, tests/cond10.test, tests/cond11.test,
3218 tests/cond13.test, tests/cond14.test, tests/cond15.test,
3219 tests/cond16.test, tests/cond17.test, tests/cond18.test,
3220 tests/cond19.test, tests/cond2.test, tests/cond20.test,
3221 tests/cond21.test, tests/cond22.test, tests/cond23.test,
3222 tests/cond24.test, tests/cond25.test, tests/cond26.test,
3223 tests/cond27.test, tests/cond28.test, tests/cond29.test,
3224 tests/cond3.test, tests/cond30.test, tests/cond31.test,
3225 tests/cond32.test, tests/cond33.test, tests/cond34.test,
3226 tests/cond35.test, tests/cond36.test, tests/cond37.test,
3227 tests/cond4.test, tests/cond5.test, tests/cond6.test,
3228 tests/cond7.test, tests/cond8.test, tests/cond9.test,
3229 tests/condd.test, tests/condhook.test, tests/condinc.test,
3230 tests/condinc2.test, tests/condlib.test, tests/condman.test,
3231 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
3232 tests/conff.test, tests/conff2.test, tests/confh.test,
3233 tests/confh4.test, tests/confh5.test, tests/config.test,
3234 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
3235 tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
3236 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
3237 tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
3238 tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
3239 tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
3240 tests/dash.test, tests/defs.in, tests/defun.test,
3241 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
3242 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
3243 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
3244 tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
3245 tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
3246 tests/depend.test, tests/depend2.test, tests/depend3.test,
3247 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
3248 tests/dirlist.test, tests/discover.test, tests/distcom2.test,
3249 tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
3250 tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
3251 tests/distname.test, tests/dollar.test, tests/double.test,
3252 tests/dup2.test, tests/else.test, tests/empty.test,
3253 tests/empty2.test, tests/empty3.test, tests/empty4.test,
3254 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
3255 tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
3256 tests/exsource.test, tests/ext.test, tests/ext2.test,
3257 tests/extra.test, tests/extra2.test, tests/extra3.test,
3258 tests/extra4.test, tests/extra5.test, tests/extra6.test,
3259 tests/extra7.test, tests/f90only.test, tests/flibs.test,
3260 tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
3261 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
3262 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
3263 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
3264 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
3265 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
3266 tests/gnuwarn2.test, tests/header.test, tests/help.test,
3267 tests/hfs.test, tests/hosts.test, tests/implicit.test,
3268 tests/include.test, tests/include2.test, tests/info.test,
3269 tests/insh2.test, tests/install2.test, tests/installdir.test,
3270 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
3271 tests/insthook.test, tests/instman.test, tests/instman2.test,
3272 tests/instsh.test, tests/instsh2.test, tests/instspc.test,
3273 tests/interp.test, tests/interp2.test, tests/java.test,
3274 tests/java2.test, tests/java3.test, tests/javaprim.test,
3275 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
3276 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
3277 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
3278 tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
3279 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
3280 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
3281 tests/library.test, tests/library2.test, tests/library3.test,
3282 tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
3283 tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
3284 tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
3285 tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
3286 tests/link_f90_only.test, tests/link_f_only.test,
3287 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
3288 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
3289 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
3290 tests/lisp8.test, tests/listval.test, tests/location.test,
3291 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
3292 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
3293 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
3294 tests/make.test, tests/makej.test, tests/makevars.test,
3295 tests/man.test, tests/man2.test, tests/mclean.test,
3296 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
3297 tests/mdate4.test, tests/missing.test, tests/missing2.test,
3298 tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
3299 tests/mmodely.test, tests/multlib.test, tests/nobase.test,
3300 tests/nodef.test, tests/nodef2.test, tests/nodep.test,
3301 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
3302 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
3303 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
3304 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
3305 tests/order.test, tests/outdir.test, tests/output.test,
3306 tests/output10.test, tests/output11.test, tests/output12.test,
3307 tests/output2.test, tests/output3.test, tests/output4.test,
3308 tests/output5.test, tests/output6.test, tests/output7.test,
3309 tests/output8.test, tests/output9.test, tests/overrid.test,
3310 tests/parse.test, tests/percent.test, tests/percent2.test,
3311 tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
3312 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
3313 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
3314 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
3315 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
3316 tests/pr211.test, tests/pr220.test, tests/pr224.test,
3317 tests/pr229.test, tests/pr243.test, tests/pr266.test,
3318 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
3319 tests/pr300-lib.test, tests/pr300-ltlib.test,
3320 tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
3321 tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
3322 tests/pr87.test, tests/pr9.test, tests/prefix.test,
3323 tests/primary.test, tests/primary2.test, tests/primary3.test,
3324 tests/proginst.test, tests/python.test, tests/python10.test,
3325 tests/python11.test, tests/python12.test, tests/python2.test,
3326 tests/python3.test, tests/python4.test, tests/python5.test,
3327 tests/python6.test, tests/python7.test, tests/python8.test,
3328 tests/python9.test, tests/recurs.test, tests/recurs2.test,
3329 tests/regex.test, tests/remake.test, tests/remake2.test,
3330 tests/remake3.test, tests/remake4.test, tests/remake5.test,
3331 tests/req.test, tests/reqd.test, tests/reqd2.test,
3332 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
3333 tests/sinclude.test, tests/space.test, tests/specflg.test,
3334 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
3335 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
3336 tests/spell.test, tests/spell2.test, tests/spell3.test,
3337 tests/spelling.test, tests/spy.test, tests/srcsub.test,
3338 tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
3339 tests/stdlib2.test, tests/strip.test, tests/subcond.test,
3340 tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
3341 tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
3342 tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
3343 tests/subdir8.test, tests/subdir9.test,
3344 tests/subdirbuiltsources.test, tests/subobj.test,
3345 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
3346 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
3347 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
3348 tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
3349 tests/subst2.test, tests/substre2.test, tests/substref.test,
3350 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
3351 tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
3352 tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
3353 tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
3354 tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
3355 tests/syntax.test, tests/tags.test, tests/tagsub.test,
3356 tests/tar.test, tests/tar2.test, tests/tar3.test,
3357 tests/target-cflags.test, tests/targetclash.test,
3358 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
3359 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
3360 tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
3361 tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
3362 tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
3363 tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
3364 tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
3365 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
3366 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
3367 tests/vars.test, tests/vars3.test, tests/vartar.test,
3368 tests/version.test, tests/version2.test, tests/version3.test,
3369 tests/version4.test, tests/version6.test, tests/version7.test,
3370 tests/version8.test, tests/vpath.test, tests/vtexi.test,
3371 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
3372 tests/werror2.test, tests/whoami.test, tests/xsource.test,
3373 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
3374 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
3375 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
3376 tests/yaccvpath.test: Update FSF postal mail address.
3378 * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
3379 Autoconf currently defines a CCC variable.
3381 * tests/output11.test, tests/output12.test: Use rm -f.
3383 2005-04-25 Gary V. Vaughan <gary@gnu.org>
3384 Alexandre Duret-Lutz <adl@gnu.org>
3386 Support for remote LIBOBJS (and friends) with subdir-objects.
3387 Fixes PR automake/401.
3389 * automake.in (config_libobj_dir): New variable.
3390 (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
3391 (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
3392 (handle_LIBOBJS, handle_ALLOCA): Use them. Adjust location of
3393 dependency files, possibly in a subdirectory.
3394 * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
3395 * tests/Makefile.am (TESTS): Add them.
3396 * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
3397 (LIBOBJS): Document changes in behaviour of
3398 LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
3399 subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
3401 2005-04-18 Jim Meyering <jim@meyering.net>
3403 * doc/automake.texi (Dist): Correct English.
3405 2005-03-31 Stepan Kasal <kasal@ucw.cz>
3407 * doc/automake.texi: When the phrase "for instance" introduces a
3408 sentence, it should be delimited by a comma.
3410 * doc/automake.texi: Fix a few typos.
3412 2005-03-30 Alexandre Duret-Lutz <adl@gnu.org>
3414 * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
3415 example, since the GCS now define htmldir.
3416 (Auxiliary Programs): Mention config-ml.in and symlink-tree.
3417 Give a URL for texinfo.tex.
3418 (Public macros): Sort alphabetically, and move obsolete macros...
3419 (Obsolete macros): ... here.
3420 Prompted by Karl Berry.
3422 2005-03-29 Alexandre Duret-Lutz <adl@gnu.org>
3424 * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
3427 * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
3428 rule is run with `make -j'.
3429 * doc/automake.texi (Multiple Outputs): Adjust.
3430 * tests/lisp6.test: Augment it.
3431 * tests/lisp8.test: New file.
3432 * tests/Makefile.am (TESTS): Add lisp8.test.
3433 Suggested by Bruno Haible.
3435 2005-03-27 Alexandre Duret-Lutz <adl@gnu.org>
3437 * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
3439 2005-03-16 Alexandre Duret-Lutz <adl@gnu.org>
3441 * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
3442 a missing *.elc file if it cannot be created because emacs does
3444 * tests/lisp7.test: New file.
3445 * tests/Makefile.am (TESTS): Add lisp7.test.
3446 Report from Greg Schafer.
3448 2005-03-05 Alexandre Duret-Lutz <adl@gnu.org>
3450 * doc/automake.texi: Replace wicked whiches by thats.
3452 2005-03-04 Alexandre Duret-Lutz <adl@gnu.org>
3454 * aclocal.in (scan_configure_dep, scan_file): Include file names
3455 are relative to the directory of configure.ac, not to the
3456 directory of the file doing the include. Remove code for this
3458 * tests/acloca13.test: Run distcheck and make sure all macros are
3459 actually distributed.
3461 2005-03-03 Alexandre Duret-Lutz <adl@gnu.org>
3463 For PR automake/450:
3464 * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
3466 * automake.in (scan_autoconf_traces): Likewise.
3467 * tests/sinclude.test: Augment.
3468 Report from Peter Breitenlohner.
3470 For PR automake/450:
3471 * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
3472 acinclude.m4 and configure.ac to the include map in these two
3474 (strip_redundant_includes): ... do it here. This completes the
3475 previous change from 2005-03-01, that did not update
3477 * tests/acloca19.test: Augment.
3478 Report from Peter Breitenlohner.
3480 2005-03-02 Alexandre Duret-Lutz <adl@gnu.org>
3482 * tests/comment9.test: Typo.
3484 2005-03-01 Alexandre Duret-Lutz <adl@gnu.org>
3486 * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
3487 * tests/comment9.test: New file.
3488 * tests/Makefile.am (TESTS): Add comment9.test.
3489 Report from Julien Sopena.
3491 For PR automake/450:
3492 * aclocal.in (trace_used_macros): Do not explicitly trace files
3493 included by configure.ac.
3494 * tests/acloca19.test: New file.
3495 * tests/Makefile.am (TESTS): Add acloca19.test.
3496 Report from Peter Breitenlohner.
3498 2005-02-27 Alexandre Duret-Lutz <adl@gnu.org>
3500 Fix for PR automake/448:
3501 * automake.in (handle_factored_dependencies): Flag install-hook as
3503 * tests/insthook.test: Exercise this.
3505 * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
3506 * doc/automake.texi (Hard-Coded Install Paths): Adjust.
3508 * doc/automake.texi: Replace many uses of @samp by @code, and
3509 vice versa. Use @command, @option, and @env where appropriate.
3511 2005-02-26 Alexandre Duret-Lutz <adl@gnu.org>
3513 * doc/automake.texi: "filename" -> "file name", for consistency
3514 with GNU Coding Standards. See also Paul's change on 2004-08-20
3517 * doc/automake.texi (A Library, Libtool Libraries): Show how to link
3518 a program with a static or libtool library.
3519 (Program and Library Variables): Make clearer that _LDADD and
3520 _LIBADD may also list libraries.
3521 Prompted by a mail from Bruce Korb.
3523 * doc/automake.texi (Alternative): Show how to rewrite nobase_
3524 variables using custom directory variables, and link to node
3525 Uniform. Suggested by Leonardo Boiko.
3527 * doc/automake.texi (Flag Variables Ordering, User Variables):
3528 Make clearer who the maintainer is, and that he can AC_SUBST AM_
3529 variables in configure.ac. Suggested by Norman Gray.
3530 (Uniform, Public macros, Libtool Issues, Java Support,
3531 Conditionals): Use `---' for em dash, and stick them to the
3534 * doc/automake.texi: Reword a few sentences to fix all underflow
3535 and overflow warnings during `make dvi'.
3536 (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
3537 (Public macros) <AM_WITH_DMALLOC>: Likewise.
3539 2005-02-12 Alexandre Duret-Lutz <adl@gnu.org>
3541 * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
3542 lib/texinfo.tex: New upstream versions.
3544 * doc/automake.texi (Hard-Coded Install Paths): New node.
3545 (Extending, Extending aclocal, Python): Link to it.
3546 (Extending): Don't show how to install a file in /etc/ directly,
3549 * automake.in (read_am_file): Define variables containing long
3550 lines as VAR_PRETTY to work around tools with limited input width.
3551 * tests/longlin2.test: New file.
3552 * tests/Makefile.am (TESTS): Add it.
3553 Report from Albert Chin.
3555 2005-02-09 Alexandre Duret-Lutz <adl@gnu.org>
3557 Fix for PR automake/447:
3558 * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
3559 Report from Mathias Doreille. Add some old comments from
3560 Nicolas Joly for reference.
3562 2005-02-08 Stepan Kasal <kasal@ucw.cz>
3564 * lib/mdate-sh: Check the size of the word following the month to
3565 catch Darwin. This way the filename can contain spaces.
3567 * doc/automake.texi (Requirements, Options): Typos.
3569 2005-02-08 Alexandre Duret-Lutz <adl@gnu.org>
3571 * lib/missing (makeinfo): Compute the output file if neither -o
3572 nor @setfilename is used.
3573 Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
3575 2005-02-07 Alexandre Duret-Lutz <adl@gnu.org>
3577 * doc/automake.texi (Requirements): Show one example of
3578 AC_CONFIG_FILES with multiple outputs, and correct a few typos.
3580 * aclocal.in ($serial_line_rx): Expect at least one space between
3581 `serial' and the following number.
3582 Report from Jim Meyering.
3584 * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
3585 Report from Peter O'Gorman.
3587 2005-02-06 Alexandre Duret-Lutz <adl@gnu.org>
3589 * aclocal.in (usage, parse_arguments): New --dry-run and --diff
3591 (install_file, write_aclocal): Honor --dry-run and --diff.
3592 * doc/automake.texi (aclocal options): Document --dry-run and --diff.
3593 (Serials): Mention --diff.
3594 * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
3595 $expected_exit_code argument.
3596 (xsystem): Take a list of arguments, not a string.
3597 * tests/acloca18.test: Use --dry-run and --diff.
3598 Suggested by Paul Eggert.
3600 * doc/automake.texi (aclocal options, Macro search path,
3601 Extending aclocal, Local Macros, Serials, Future of aclocal): Make
3602 these subsection of ...
3603 (Invoking aclocal): ... this.
3605 * aclocal.in ($serial_line_rx): Allow trailing garbage after the
3607 (scan_file): Explicitly mark the "ill-formed serial" message
3609 * doc/automake.texi (aclocal options, Local Macros): Link to...
3610 (Serials): ... this new section.
3612 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
3614 * lib/compile: Likewise.
3616 2005-02-02 Alexandre Duret-Lutz <adl@gnu.org>
3618 * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
3620 * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
3621 status if a write failure occurs with --help or --version option,
3624 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
3626 * lib/depcomp: Exit with nonzero status if a write failure occurs
3627 with --help or --version option.
3628 * lib/elisp-comp: Likewise.
3629 * lib/gnupload: Likewise.
3630 * lib/install-sh: Likewise.
3631 * lib/missing: Likewise.
3632 * lib/mkinstalldirs: Likewise.
3634 2005-02-01 Alexandre Duret-Lutz <adl@gnu.org>
3636 * doc/automake.texi (aclocal options): Typo.
3638 * aclocal.in (list_compare): New functions.
3639 (scan_file): Honor #serial lines.
3640 * tests/acloca18.test: New test.
3641 * tests/Makefile.am (TESTS): Add it.
3642 * doc/automake.texi (aclocal options, Local Macros): Document
3645 2005-01-30 Alexandre Duret-Lutz <adl@gnu.org>
3647 Preliminary support for `aclocal --install'.
3648 This still lacks #serial support.
3649 * aclocal.in (reset_maps, install_file): New functions.
3650 (write_aclocal): Copy files if --install.
3651 (usage, parse_arguments): Recognize --install.
3652 ("MAIN"): Start aclocal again if some file were installed.
3653 * tests/acloca10.test: Augment to test --install.
3654 * tests/aclocal.in, tests/defs.in: Add support for
3655 ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
3656 * doc/automake.texi (aclocal options, Local Macros): Document
3658 (Future of aclocal): Adjust.
3660 * doc/automake.texi (Macro search path): Using --acdir is not
3661 obvious, it's erroneous.
3663 * doc/automake.texi (direntry): Let `info Automake' point to the
3664 manual, and `info automake' to the `Invoking automake' node. Like
3667 2005-01-27 Akim Demaille <akim@epita.fr>
3669 * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
3672 2005-01-24 Akim Demaille <akim@epita.fr>
3674 * lib/Automake/FileUtils.pm: Rename filename as file_name to be
3675 consistent with the terminology of the GNU coding standards.
3677 (update_file): Accept a $force argument, so that --force always
3678 updates the time stamps.
3680 2005-01-23 Alexandre Duret-Lutz <adl@gnu.org>
3682 * doc/automake.texi (How the Linker is Chosen): Explain how the
3683 linker is chosen without diagram, and update to match the code.
3684 Suggestion from Adrian Bunk.
3686 2005-01-16 Alexandre Duret-Lutz <adl@gnu.org>
3688 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
3689 Process all words of $MAKEFLAGS when checking for -k.
3690 * tests/check4.test: New file.
3691 * tests/Makefile.am (TESTS): Add check4.test.
3692 Report from Eric Blake.
3694 2005-01-13 Alexandre Duret-Lutz <adl@gnu.org>
3696 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
3697 AM_INIT_AUTOMAKE if the version passed is incorrect.
3698 * tests/version8.test: New file.
3699 * tests/Makefile.am (TESTS): Add version8.test.
3701 2005-01-09 Alexandre Duret-Lutz <adl@gnu.org>
3703 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
3704 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
3705 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
3706 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
3707 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
3708 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
3709 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
3710 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
3711 license that is used in aclocal.m4. Relicensing backed by RMS.
3713 * doc/automake.texi (A Library, LIBOBJS): Mention that empty
3714 libraries are not portable.
3716 2005-01-05 Akim Demaille <akim@epita.fr>
3718 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
3719 * tests/aclocal5.test (MORE_DEFS): Rename as...
3720 (AM_TEST): this so that undefined macros are caught.
3721 And make it an alias of AC_SUBST.
3723 Reported by Martin Bravenboer.
3725 2005-01-03 Alexandre Duret-Lutz <adl@gnu.org>
3727 Fix handling of per-target flags in link rules.
3728 * automake.in (define_per_target_linker_variable): New function.
3729 (handle_programs, handle_ltlibraries): Use it.
3730 (%link_languages): New map.
3731 (register_language): Fill it.
3732 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
3733 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
3734 define_per_target_linker_variable if needed.
3735 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
3736 $(%XPROGRAM%_LDFLAGS).
3737 * doc/automake.texi (Program and Library Variables): Mention
3738 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
3739 and maude_LIBTOOLFLAGS.
3740 * tests/libtool9.test: New file.
3741 * tests/Makefile.am (TESTS): Add it.
3742 * NEWS: Explain the backward incompatibility.
3743 Report from Akim Demaille.
3745 2005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
3747 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
3748 specifications with shell variables.
3749 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
3750 AC_CONFIG_FILES for this explanation.
3751 * automake.in (substitute_ac_subst_variables_worker,
3752 substitute_ac_subst_variables): Mew functions.
3753 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
3754 to ignore dependencies that contain unAC_SUBSTed shell variables.
3755 (handle_configure): Likewise, do not output rules for
3756 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
3757 unAC_SUBSTed contain shell variables.
3758 * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
3759 * tests/output11.test, tests/output12.test: New files.
3760 * tests/Makefile.am (TESTS): Add output11.test and output12.test.
3762 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
3763 * automake.in ($gen_copyright, version): Likewise.
3767 Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
3769 Copying and distribution of this file, with or without modification, are
3770 permitted provided the copyright notice and this notice are preserved.