1 2003-06-03 Alexandre Duret-Lutz <adl@gnu.org>
3 * lib/Automake/Configure_ac.pm
4 (search_configure_ac, find_configure_ac): Rename as ...
5 (find_configure_ac, require_configure_ac): ... these.
6 * aclocal.in (scan_configure): Adjust call to require_configure_ac.
7 * automake.in (scan_autoconf_files): Likewise.
8 Suggested by Tim Van Holder.
10 * alocal.in: Use Automake::Configure_ac.
11 ($configure_ac): Delete.
12 (scan_configure): Adjust use of find_configure_ac;
13 * automake.in: Use Automake::Configure_ac.
14 ($configure_ac): Delete.
15 (scan_autoconf_files): Adjust use of find_configure_ac;
16 * lib/Automake/Configure_ac.pm: New file.
17 * lib/Automake/General.pm (find_configure_ac): Delete. Now
18 replaced by Automake::Configure_ac::search_configure_ac.
19 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm.
20 * lib/Automake/Variable.pm: Use Automake::Configure_ac.
21 (require_variables): Adjust use of $configure_ac.
23 2003-06-02 Akim Demaille <akim@epita.fr>
25 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am,
26 * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am,
27 * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am,
28 * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am,
29 * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am,
30 * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am,
31 * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am,
32 * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am,
33 * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am,
34 * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am,
35 * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4,
36 * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4,
37 * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4,
38 * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4,
39 * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4,
40 * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4,
41 * m4/Makefile.am: White space changes and Copyright updates.
43 2003-05-29 Alexandre Duret-Lutz <adl@gnu.org>
45 * lib/Automake/Variable.pm (check_defined_unconditionally): Add
46 the $parent_cond argument.
47 (output): Use $self->name in diagnostic not $self.
48 (variable_value_as_list): Rename as ...
49 (value_as_list): ... this. Declare as a method. Take a $parent_cond
50 argument and pass it to check_defined_unconditionally. Do not call
51 variable_assert, now that this is a method.
52 (variable_assert): Delete (unused).
53 * automake.in (traverse_variable_recursively_worker): Adjust to
54 use check_defined_unconditionally and value_as_list as a methods.
56 * lib/Automake/Variable.pm (output): Declare as a method, since it
57 is only used this way.
58 (define): Fix documentation of $cond.
59 Suggested by Raja R. Harinath.
61 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
63 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
64 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
66 * automake.in: Use Automake::Variable and Automake::VarDef.
67 (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
68 (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
69 (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
70 (silent_variable_override): Delete. Now
71 Automake::Variable::_silent_variable_override.
72 (var_value, var_location, var_comment, var_type, var_owner,
73 var_pretty, content_seen): Delete. This functionality is now
74 offered by Automake::Variable and Automake::VarDef.
75 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
76 Delete. Now defined in Automake::VarDef.
77 (var_order): Delete. Now Automake::Variable::_var_order.
78 (appendvar): Delete. Now Automake::Variable::_appendvar.
79 (var_SUFFIX_trigger): Register using Automake::Variable::hook.
80 (initialize_per_input): Call Automake::Variable::reset.
81 (err_var, msg_cond_var, msg_var, reject_var): Delete. Now
82 defined in Automake::Variable.
83 (generate_makefile, process_option_list, handle_languages)
84 (traverse_variable_recursively_worker)
85 (transform_variable_recursively, handle_compile)
86 (handle_libraries, handle_ltlibraries)
87 (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
88 Adjust to use Automake::Variable functions.
89 (check_ambiguous_condition): Delete. Now
90 Automake::Variable::_check_ambiguous_condition.
91 (condition_ambiguous_p): Delete. Now
92 Automake::Variable::condition_ambiguous_p.
93 (variable_not_always_defined_in_cond): Delete. Now
94 Automake::Variable::not_always_defined_in_cond.
95 (macro_define): Delete. Now Automake::Variable::define.
96 (macro_delete): Delete. Now Automake::Variable::variable_delete.
97 (macro_dump): Delete. Now Automake::Variable::variable_dump.
98 (macros_dump): Delete. Now Automake::Variable::variables_dump.
99 (variable_defined): Delete. Now
100 Automake::Variable::variable_defined, with the target check
101 temporarily disabled.
102 (variable_assert): Delete. Now Automake::Variable::variable_assert.
103 (examine_variable): Delete. Now
104 Automake::Variable::examine_variable.
105 (variable_conditions): Delete. Now Automake::Variable::conditions.
106 (scan_variable_expansions): Delete. Now
107 Automake::Variable::scan_variable_expansions.
108 (check_variable_expansions): Delete. Now
109 Automake::Variable::check_variable_expansions.
110 (check_variable_defined_unconditionally): Delete. Now
111 Automake::Variable::check_defined_unconditionally.
112 (variable_value): Delete. Now Automake::Variable::variable_value.
113 (variable_value_as_list): Delete. Now
114 Automake::Variable::variable_value_as_list.
115 (variable_value_as_list_recursive_worker): Adjust to use
116 Automake::Variable functions.
117 (variable_output): Delete. Now Automake::Variable::output.
118 (define_pretty_variable, define_configure_variable, read_am_file)
119 (define_standard_variables, read_main_am_file): Adjust to use
120 Automake::Variable functions.
121 (handle_variables): Delete. Now Automake::Variable::output_variables.
122 (file_contents_internal, am_primary_prefixes, am_install_var)
123 (require_file_with_macro, require_conf_file_with_macro)
124 (push_dist_common): : Adjust to use
125 Automake::Variable functions.
126 (require_variables): Delete. Now
127 Automake::Variable::require_variables.
128 (require_variables_for_macro): Delete. Now
129 Automake::Variable::require_variables_for_variable.
130 * tests/Makefile.am (XFAIL_TESTS): Add target.test.
132 2003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change)
134 * tests/dejagnu7.test: Check if runtest supports --status.
136 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
138 * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position
141 * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
142 $self contains only one Condition.
144 * automake.in: Use plain strict, including refs.
145 (macro_define, handle_single_transform_list): Use \&{'name'} to
146 build references to named subroutines.
148 2003-05-22 Karl Berry <karl@gnu.org>
150 * automake.texi: Update @dircategory to match the Free Software
151 Directory. End directory entries with dots.
153 2003-05-22 Alexandre Duret-Lutz <adl@gnu.org>
155 * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
157 * lib/elisp-comp: s/François/Franc,ois/.
158 Suggested by Paul Eggert.
160 * automake.in: Move the "main" code at the end.
161 (parse_arguments): Move near the end.
162 ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list,
163 accept_extensions, var_SUFFIXES_trigger): Move these definitions
164 before any call to register_language.
165 (am_file): Move the definition with all other global variables,
166 do not use local to define it.
167 * Makefile.am (maintainer-check): Expect no `local' in Automake.
169 2003-05-21 Alexandre Duret-Lutz <adl@gnu.org>
171 * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files.
172 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm.
173 * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl.
174 * automake.in (handle_texinfo_helper, pretty_print_rule)
175 (variable_output): Adjust to use makefile_wrap instead of
176 pretty_print_internal.
177 (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap
178 and augmented to accept the $eol and $max_len arguments.
180 2003-05-18 Alexandre Duret-Lutz <adl@gnu.org>
182 * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub,
183 lib/texinfo.tex: New upstream versions.
185 2003-05-17 Alexandre Duret-Lutz <adl@gnu.org>
187 * lib/am/install.am (install, install-exec, install-data, uninstall):
188 Declare conditionally using a if/else/endif block instead of
189 using ?SUBDIRS?-style conditions. The latter fail when
190 %maybe_BUILT_SOURCES% is replaced by several lines.
191 This fixes a bug introduced on 2003-04-06.
192 * tests/bsource.test: New file.
193 * tests/Makefile.am (TESTS): Add bsource.test.
194 Reported by Bruno Haible.
196 2003-05-11 Alexandre Duret-Lutz <adl@gnu.org>
198 * automake.texi (renamed objects): New node.
199 (Program and Library Variables): Move maude_DEPENDENCIES closer
200 to maude_LDADD. Define and use `per-target compilation flags' in the
201 explanation for maude_CFLAGS et al. Link to the `renamed objects'
202 node. Illustrate maude_SHORTNAME.
204 2003-05-09 Alexandre Duret-Lutz <adl@gnu.org>
206 * lib/install-sh: Update copyright notice and license to that of
207 X11R6. This removes an advertising clause reported as Debian bug
210 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
212 * configure.in (ACLOCAL): Do not use -I, --acdir is enough.
214 * m4/make.m4: Rename the doit target as am__doit,
216 Reported by Philip S Tellis.
218 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
220 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
222 * tests/makej.test: New file (test Autom4te's cache locking,
223 new in CVS Autoconf).
224 * tests/Makefile.am (TESTS): Add makej.test.
226 2003-05-06 Alexandre Duret-Lutz <adl@gnu.org>
228 * lib/Automake/General.pm (contents): New function.
229 * aclocal.in (greatest_mtime, force_output): New globals.
230 (scan_configure, add_file): Update $greatest_mtime.
231 (parse_arguments): Parse --force.
232 (write_aclocal): Do not overwrite $output_file unless needed.
233 * automake.texi (aclocal options): Document --force.
234 * tests/aclocal7.test: New file.
235 * tests/Makefile.am (TESTS): Add aclocal7.test.
237 2003-05-05 Alexandre Duret-Lutz <adl@gnu.org>
239 * automake.texi (Optional): Document m4_include.
240 (Invoking aclocal): Shake a bit to introduce the various uses
241 of aclocal and explain that aclocal will use m4_include for
243 (Extending aclocal): Show how to install installable macros
244 in $(datadir)/aclocal, and make it clearer that writing installable
245 macros is not the only way to extend aclocal.
246 (Local Macros, Future of aclocal): New sections.
248 2003-04-27 Alexandre Duret-Lutz <adl@gnu.org>
250 * automake.in (@common_files): Remove acinclude.m4 since
251 it will be m4_included by aclocal.m4 and files are always
253 (scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
254 We will get this dependency when tracing m4_includes.
255 * tests/aclocal6.test: Make sure acinclude.m4 is distributed
257 * tests/acinclude.test: Delete.
258 * tests/Makefile.am (TESTS): Remove acinclude.test.
260 2003-04-25 Alexandre Duret-Lutz <adl@gnu.org>
262 * automake.in (handle_configure): Don't add @configure_deps to
263 DIST_COMMON, we do this from lib/am/configure.am now.
264 Define the am__configure_deps variable instead of substituing
266 * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
267 $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
268 (DIST_COMMON): Add $(am__configure_deps).
270 * tests/aclocal6.test: New file.
271 * lib/am/configure.am (am--refresh): New rule.
272 (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
273 $(top_srcdir)/configure): Call the top-level am--refresh from
275 ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the
276 top-level am--refresh when not in the top-level directory.
277 Fix jump directories for VPATH builds.
278 Suggested by Raja R. Harinath.
280 2003-04-24 Alexandre Duret-Lutz <adl@gnu.org>
282 * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
283 and glob for m4_files (We've got all local m4 files while
284 tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete.
285 Distribute aclocal.m4 only at the top-level.
286 (my_glob): Remove. This fixes PR automake/11.
287 (handle_dist): Strip leading `./' from directories.
288 * aclocal.in (add_file): Output 'm4_include([file.m4])' instead
289 of copying local files.
290 (write_aclocal, parse_arguments): Bump copyright date.
291 * configure.in: De not build m4/amversion.m4 from here ...
292 * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
293 (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
295 * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
296 (TESTS): Remove aclocal2.test. Do not test aclocal.test twice.
297 * tests/aclocal2.test: Delete (pointless).
298 * tests/aclocal5.test: Make sure configure's dependencies are
300 * tests/acinclude.test: Adjust to search for m4_include.
301 * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
302 configure instead of aclocal.m4.
305 * automake.in (scan_aclocal_m4): Work in all directories, not only
306 the top-level. Prepend $(top_srcdir) in front of each aclocal.m4
308 * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
309 Define rebuild rules in each directory.
310 * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
311 from the top-level directory.
312 * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies
314 * tests/Makefile.am (TESTS): Add aclocal5.test.
315 (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
317 2003-04-24 Akim Demaille <akim@epita.fr>
318 Alexandre Duret-Lutz <adl@gnu.org>
321 * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
322 because of one of configure's dependencies, run automake without
323 argument to update the whole tree at once. Depend upon
325 (%MAKEFILE%): If Makefile is rebuilt because config.status has
326 been updated, run config.status without arguments.
327 * automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
328 before all files in @configure_deps.
329 * tests/subdir5.test: Modernize configure.in, make sure
330 maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
331 * tests/subdir8.test: New file.
332 * tests/Makefile.am (TESTS): Add subdir8.test.
333 (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
335 2003-04-23 Alexandre Duret-Lutz <adl@gnu.org>
337 * automake.texi (Requirements): Typo in index
338 s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
340 * lib/texinfo.tex: New upstream version.
342 2003-04-21 Jim Meyering <jim@meyering.net>
344 * lib/mkinstalldirs: Remove each sequence of spaces before a
346 * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
348 2003-04-19 Alexandre Duret-Lutz <adl@gnu.org>
350 Fix for PR automake/389:
351 * automake.in (handle_configure): Don't put $colon_infile in
353 * tests/conff.test: New file.
354 * tests/Makefile.am (TESTS): Add conff.test.
355 Reported by Alexander Turbov.
357 2003-04-18 Alexandre Duret-Lutz <adl@gnu.org>
359 * tests/defs.in: Handle required=etags to work around
362 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
365 * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
366 Distribute dejagnu test cases, so that distcheck actually runs them.
368 2003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk>
370 * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
371 because we set that by invoking runtest with --tool.
372 * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
373 dejagnu6.test, dejagnu7.test.
374 * tests/dejagnu4.test: New test.
375 * tests/dejagnu5.test: New test.
376 * tests/dejagnu6.test: New test.
377 * tests/dejagnu7.test: New test.
379 * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
381 2003-04-18 Jim Meyering <jim@meyering.net>
383 * automake.in (variable_output): Fix typo in comment s/is/if/.
385 * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
386 directly to $@. Instead, redirect to $@t and rename upon success.
387 Also, move the commands that update $@ so they are last. Otherwise,
388 this rule could leave the user with an up to date target (.c file)
389 but with a missing or corrupted corresponding .h file.
391 2003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk>
393 * tests/defs.in: Handle required=runtest, to detect runtest
395 * tests/Makefile.am (TESTS): Add dejagnu3.test.
396 * tests/dejagnu3.test: New test.
398 2003-04-16 Alexandre Duret-Lutz <adl@gnu.org>
400 * automake.in (rule_define): If the user tries to override
401 an Automake which has a -local variant, suggest using the
402 -local variant in the -Woverride diagnostic.
403 (handle_factored_dependencies): Register factored
404 rules with rule_define, and define them only in undefined
406 * tests/Makefile.am (TESTS): Add override.test.
407 * tests/overrid.test: New file.
408 * tests/phony.test: Count the number of .PHONY targets.
410 2003-04-15 Alexandre Duret-Lutz <adl@gnu.org>
412 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
413 these rules, so that we don't confuse users by echoing
414 "echo ERROR:" commands which are not run.
416 2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk>
417 Alexandre Duret-Lutz <adl@gnu.org>
419 * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
420 initialize_per_input): Add infrastructure for generating HTML
421 documentation from texinfo source.
422 * lib/am/texinfos.am: Add rules for building HTML documentation
424 * lib/am/texibuild.am: Likewise.
425 * automake.texi (Texinfo): Document rules for building
426 HTML documentation from texinfo source.
427 * tests/txinfo21.test: New file.
428 * tests/Makefile.am (TESTS): Add txinfo21.test.
429 * tests/defs.in: Handle required=makeinfo-html.
431 2003-04-14 Alexandre Duret-Lutz <adl@gnu.org>
433 * automake.in (%silent_variable_override): New variable.
434 (macro_define): Warn about variable definitions overriding
436 (rule_define): Warn about target definitions overriding
437 Automake variables. Fix $condmsg definition.
438 * automake.texi (Invoking Automake): Document the `override'
440 * lib/Automake/ChannelDefs.pm (usage): Likewise.
441 * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
442 this is already done in m4/init.m4.
443 * tests/dejagnu2.test: Run $MAKE, don't only grep. Use
444 -Wno-override, and make sure we get a warning without.
445 * tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
446 and make sure we get a warning without.
447 * tests/exeext3.test, tests/java2.test, tests/nolink.test,
448 tests/subpkg.test, tests/vartest.test: Use -Wno-override.
449 * tests/txinfo13.test: Use installcheck-local instead of overriding
451 * tests/txinfo2.test: Run $MAKE on the real Makefile (this test
452 used to succeed thanks to a failure...)
453 * tests/location.test: Adjust expected messages.
454 * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
456 2003-04-12 Raja R Harinath <harinath@acm.org>
458 * lib/Automake/DisjConditions.pm (true): Don't cache answer.
459 (invert): Update comment.
461 (simplify): Implement using invert().
462 * lib/Automake/tests/DisjConditions.pl (test_simplify):
463 Update to reflect changes.
465 2003-04-12 Alexandre Duret-Lutz <adl@gnu.org>
467 * automake.in (scan_autoconf_files): Augment the error message
468 about AM_INIT_AUTOMAKE not found.
469 Suggested by Bruno Haible.
471 * lib/Automake/Version.pm: New file.
472 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
473 * lib/Automake/tests/Version.pl: New file.
474 * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
475 * tests/Makefile.am (TESTS): Remove version5.test.
476 * tests/version5.test: Delete. Move the tests to Version.pl.
477 * automake.in (version_split, version_compare, version_check): Move ...
478 * lib/Automake/Version.pm (split, compare, check): ... here.
480 2003-04-11 Alexandre Duret-Lutz <adl@gnu.org>
482 * lib/Automake/tests/Condition.pl (test_reduce_and)
483 (test_reduce_or): Cosmetics.
484 * lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
486 * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
488 * tests/yacc8.test, configure.in: Update copyright year.
490 2003-04-10 Richard Dawe <rich@phekda.freeserve.co.uk>
492 * configure.in: Get the build platform name. Define
493 MODIFICATION_DELAY as the time to wait after modifying a file,
494 to cope with timestamp granularity issues, depending
496 * tests/defs.in: Define `sleep' using MODIFICATION_DELAY.
498 2003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change)
500 * automake.texi (Public macros): Clarify that the new
501 AM_INIT_AUTOMAKE variant is preferred, and the old one
502 deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item.
503 (Hello): Caution that the example uses the deprecated
504 AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
506 2003-04-10 Alexandre Duret-Lutz <adl@gnu.org>
508 Retain all variable definitions until the whole Makefile.am has
509 been processed, then output all variables in one step, at the top
510 of Makefile.in. (Older revisions used to output user variables
511 before generating Automake targets, and to mix Automake variables
512 with Automake targets, preventing redefinitions of previously
515 * automake.in (%var_pretty): New variable.
516 (VAR_ASIS, VAR_PRETTY): New constants.
517 (@var_list): Rename as ...
518 (@var_order): ... this.
519 (initialize_per_input): Clear %var_pretty.
520 (handle_variables): New function, extracted from ...
521 (read_main_am_file): ... here.
522 (generate_makefile): Call handle_variable after everything else.
523 (handle_dist): Use define_pretty_variable, not pretty_print.
524 (pretty_print): Delete.
525 (macro_define): Augment with $COMMENT and $PRETTY parameters.
526 Update %var_comment, %var_pretty, and @var_order. Adjust callers.
527 (variable_pretty_output): Merge with ...
528 (variable_output): ... this, and choose the prettiness on a
530 (append_comments): Delete. This work is now done by macro_define.
531 (read_am_file, file_contents_internal): Don't call append_comments
532 nor update @var_list, adjust calls to macro_define.
533 (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
534 just mark it as VAR_PRETTY.
535 * tests/exeext.test: Make sure bin_PROGRAMS is output only once.
536 Report from Jim Meyering.
538 2003-04-06 Alexandre Duret-Lutz <adl@gnu.org>
540 * automake.in (handle_installdirs): Rename as ...
541 (handle_install): ... this. Define maybe_BUILT_SOURCES.
542 (generate_makefile): Adjust call to handle_install.
543 * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
544 * automake.texi (Sources, Built sources example): BUILT_SOURCES
545 is honored by `make install' too.
546 * tests/check3.test: Make sure that `make install' also depends
548 Report from Alexander Turbov.
550 * lib/am/libs.am (ARFLAGS): Define.
551 * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
553 * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
554 are used, and how they can be overridden.
555 (Program and Library Variables): Adjust to show `$(ARFLAGS)'
557 * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
558 * tests/ranlib.test: Delete, obsoleted by ar.test.
559 * tests/Makefile.am (TESTS): Remove ranlib.test.
560 Report from Paul Thomas.
562 2003-04-03 Alexandre Duret-Lutz <adl@gnu.org>
564 * automake.in (check_trailing_slash): New function (variation on
565 a patch by Peter Muir). Diagnose whitespaces following trailing
567 (read_am_file): Use it.
568 * tests/backsl4.test: New file.
569 * tests/Makefile.am (TESTS): Add backsl4.test.
570 Reported by Peter Muir.
572 2003-03-29 Raja R Harinath <harinath@acm.org>
574 Speedup Automake::DisjConditions::invert().
575 * lib/Automake/Condition.pm (multiply): New.
576 * lib/Automake/DisjConditions.pm (_multiply): Use it.
577 (sub_conditions): Likewise.
579 * lib/Automake/Condition.pm (reduce): Rename to ...
580 (reduce_and): ... this.
582 * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
583 * lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
584 (test_reduce_and): ... this.
585 (test_reduce_or): New.
586 * lib/Automake/tests/DisjConditions.pl
587 (test_invert): Update to reflect effect of reduce_or().
588 (test_simplify): Don't skip invert() on larger inputs.
590 2003-03-29 Raja R Harinath <harinath@cs.umn.edu>
592 * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
593 that timestamp will change.
595 2003-03-23 Akim Demaille <akim@epita.fr>
596 Alexandre Duret-Lutz <adl@gnu.org>
598 * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
599 when supported by etags (Exuberant Ctags).
600 * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
602 2003-03-20 Alexandre Duret-Lutz <adl@gnu.org>
604 For Debian Bug #185388:
605 * automake.texi (Extending): Augment the install-exec-hook
606 discussion with an example how to symlink a versioned binary.
607 * tests/insthook.test: Rewrite to test the above example.
608 Report from James R. Van Zandt.
610 2003-03-19 Alexandre Duret-Lutz <adl@gnu.org>
612 * Makefile.am (maintainer-check): Allow `automake:' tokens,
613 occuring in location.test. Automake now has 5 legitimate
614 unsubstituted @strings@.
616 * tests/aclocal4.test: Require GNU make.
618 2003-03-14 Alexandre Duret-Lutz <adl@gnu.org>
620 * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below.
621 * tests/Makefile.am (TESTS): Add aclocal4.test.
623 2003-03-14 Jim Meyering <jim@meyering.net>
625 * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
626 subdirectories. Makefile.in depends on that variable.
628 2003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
630 * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
632 Fix for PR automake/386:
633 * m4/init.m4: Require Autoconf 2.55.
634 Reported by Owen Taylor.
636 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
637 (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
638 Suggested by Matthias Andree.
640 * tests/README: Typo.
642 2003-03-08 Alexandre Duret-Lutz <adl@gnu.org>
644 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
645 (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
646 Just echo the gcc command.
647 Suggested by Karl Berry.
649 2003-03-06 Alexandre Duret-Lutz <adl@gnu.org>
651 * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
652 `test -f foo || echo $(srcdir)/` to emulate a VPATH search when
653 outputing suffix rules. This follows 2003-02-25's change.
654 * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
655 * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
657 2003-03-05 Alexandre Duret-Lutz <adl@gnu.org>
659 * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
660 with AC_CONFIG_FILES are cleaned by `make distclean'. Don't
662 Reported by Rafael Laboissiere.
664 2003-03-04 Andreas Buening <andreas.buening@nexgo.de>
666 * lib/mdate-sh: Find out which column of the ls -l output contains
667 the month. Do not assume it is at least the fifth column.
669 2003-02-26 Alexandre Duret-Lutz <adl@gnu.org>
671 * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
673 * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
674 instead of lisp_LISP when they don't want byte-compilation.
675 Don't mention ELCFILES anymore.
676 * automake.in (handle_data): Allow lisp_DATA.
677 * tests/lisp5.test: New file.
678 * tests/Makefile.am (TESTS): Add lisp5.test.
680 * automake.in (handle_emacs_lisp): Don't build *.elc files
681 if ELCFILES was set empty.
682 * tests/lisp4.test: New file.
683 * tests/Makefile.am (TESTS): Add lisp4.test.
684 Reported by Simon Josefsson.
686 * tests/lex3.test, tests/lex5.test: Require flex.
687 Reported by Leo Davis.
689 2003-02-25 Alexandre Duret-Lutz <adl@gnu.org>
691 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
692 use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
693 when outputing suffix rules.
694 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
695 (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
696 Suggested by Bruno Haible.
698 * automake.in (read_am_file): Catch trailing backslashes on last line.
699 * tests/backsl3.test: New file.
700 * tests/Makefile.am (TESTS): Add backsl3.test.
701 Reported by Akim Demaille.
703 2003-02-24 Alexandre Duret-Lutz <adl@gnu.org>
705 * ChangeLog: Move 2002's entries to ...
706 * ChangeLog.02: ... this new file.
707 * Makefile.am (EXTRA_DIST): Add ChangeLog.02.
709 2003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk>
711 * tests/version7.test: Use $sleep to sleep before updating
712 the version, to work around timestamp inconsistencies in Windows.
714 2003-02-24 Bruno Haible <bruno@clisp.org>
715 Alexandre Duret-Lutz <adl@gnu.org>
717 * lib/am/texibuild.am: Don't remove the target info files. Instead,
718 back up and restore them if makeinfo fails.
719 * tests/txinfo20.test: New file.
720 * tests/Makefile.am (TESTS): Add txinfo20.test.
722 2003-02-23 Alexandre Duret-Lutz <adl@gnu.org>
724 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
725 (distcleancheck): Fix typos and other errors reported by Karl
728 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
730 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
733 * tests/defs.in: Handle required=ro-dir.
734 * tests/destdir.test: Use this.
736 2003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
738 * lib/am/distdir.am (distcheck): Strip any leading DOS drive
739 from dc_install_base.
741 2003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
743 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
744 DJGPP-style *.iNN info files.
745 (maintainer-clean-aminfo): Rewrite using the same pattern
746 as in uninstall-info-am.
747 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
748 DJGPP-style *.iNN info files before running $(MAKEINFO).
749 * tests/txinfo19.test: New file.
750 * tests/Makefile.am (TESTS): Add txinfo19.test.
752 2003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk>
754 * lib/depcomp (dashmstdout): Cope with DOS filenames in
757 2003-02-17 Alexandre Duret-Lutz <adl@gnu.org>
759 * lib/depcomp (makedepend): Don't pass $object to makedepend.
760 Reported by Stepan Kasal.
762 2003-02-12 Alexandre Duret-Lutz <adl@gnu.org>
764 * tests/defs.in: Handle required=makedepend.
766 * Makefile.am (maintainer-check): Update the diff check
767 to account for the recent @SHELL@ substitution.
769 2003-02-11 Alexandre Duret-Lutz <adl@gnu.org>
771 * lib/depcomp: Do not put comments on the `icc)' line.
773 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
776 Fix for PR automake/381:
777 * automake.in (handle_gettext): Do not print diagnostics
778 about po/ and intl/ missing from SUBDIRS if po/ does not
779 exist. Warn if `SUBDIRS = intl' is used although libintl
781 * tests/gettext.test: Make sure diagnostics are not output
782 when po/ does not exist.
783 * tests/gettext2.test: Test for unwanted intl/.
784 PR from Alexander Turbov, fix suggested by Bruno Haible.
786 * m4/depend.m4: Grep depcomp's stderr for icc warnings about
788 * lib/depcomp (icc): New mode.
789 * tests/depcomp5.test: New file.
790 * tests/defs.in: Handle required=icc.
791 * tests/Makefile.am (TESTS): Add it.
793 Temporary hack for PR automake/381:
794 * automake.in (handle_gettext): Turn missing po/ and intl/ errors
795 into -Wsyntax warnings.
797 2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
799 * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
800 This makes the setting of SHELL work for DJGPP.
802 2003-02-10 Alexandre Duret-Lutz <adl@gnu.org>
805 * lib/depcomp (makedepend): Strip any libtool call, before
807 * tests/depcomp4.test: New file.
808 * tests/Makefile.am (TESTS): Add it.
809 Reported by Jeff Squyres.
811 Related to PR automake/385:
812 * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
813 write dependencies to /dev/null. `-o /dev/null' was added
814 on 2002-06-13 just because I tried to replace `-o foo.o' by something
815 else and didn't thought about removing it entirely.
816 * tests/depcomp3.test: New file.
817 * tests/Makefile.am (TESTS): Add it.
819 * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
821 Suggested by Richard Dawe.
823 2003-02-09 Alexandre Duret-Lutz <adl@gnu.org>
825 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
826 (distcleancheck): New nodes.
828 2003-02-06 Alexandre Duret-Lutz <adl@gnu.org>
830 * automake.in (scan_autoconf_files): Don't complain that
831 AM_INIT_AUTOMAKE comes from an old version if it was not found.
833 2003-02-05 Alexandre Duret-Lutz <adl@gnu.org>
835 * automake.in (am_install_var): Simplify filtering of
836 variable_loc_and_value_as_list_recursive's output.
838 2003-02-04 Alexandre Duret-Lutz <adl@gnu.org>
840 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
841 indexes of header files so we create stamp files with
842 the right numbers when config.status is run on some headers.
843 * tests/stamph2.test: Check for this.
844 Reported by Sander Niemeijer.
846 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
848 * automake.in (vars_scanned): Move near traverse_variable_recursively.
849 (traverse_variable_recursively,
850 traverse_variable_recursively_worker): Accept a $COND_FILTER argument
851 to filter out conditions during recursion. Don't recurse into
852 undefined variables. Don't pass empty results to &FUN_COLLECT.
853 (value_to_list): Remove, was used by
854 variable_value_as_list_recursive_worker only.
855 (variable_value_as_list_recursive_worker): Rewrite using
856 traverse_variable_recursively. Remove the $parent argument.
857 (variable_value_as_list_recursive,
858 variable_loc_and_value_as_list_recursive): Adjust calls
859 to variable_value_as_list_recursive_worker. Don't reset
861 * tests/cond3.test: Don't expect empty helper variables,
862 we don't output them anymore.
863 * tests/cond30.test: Use an undefined variable.
865 * automake.in (handle_programs): Strip $(EXEEXT) before
866 calling &check_canonical_spelling.
867 * tests/exeext.test: Make sure we don't use a
868 maude3__EXEEXT__OBJECTS variable.
870 2003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
872 For Debian Bug #39542:
873 * automake.texi (Invoking Automake, Optional): Document how
874 AC_CONFIG_AUX_DIR interacts with missing files.
876 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
878 * lib/Automake/DisjConditions.pm (_permutations_worker)
879 (permutations): Remove, so that people aren't tempted to use it.
880 * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
882 * automake.in (variable_conditions_recursive): Remove.
883 (variable_conditionally_defined): Rewrite using
884 traverse_variable_recursively.
886 * automake.in (traverse_variable_recursively,
887 traverse_variable_recursively_worker): Pass one merged Condition
888 instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT.
889 (transform_variable_recursively, define_objects_from_sources)
890 (handle_lib_objects, variable_conditions_recursive): Adjust usage.
892 2003-02-01 Alexandre Duret-Lutz <adl@gnu.org>
894 * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables
895 using transform_variable_recursively instead of
896 variable_conditions_recursive and variable_value_as_list_recursive
897 to avoid combinatorial explosion.
898 (handle_lib_objects_cond): Merge into handle_lib_objects.
899 * tests/cond11.test: Don't grep internal details in Makefile.in,
900 run $MAKE to make sure the resulting Makefile runs as expected.
901 * tests/cond29.test: Also exercise conditional _LDADD.
902 * tests/cond31.test, tests/cond32.test: New files.
903 * tests/Makefile.am (TESTS): Add tests/cond31.test and
906 2003-01-31 Alexandre Duret-Lutz <adl@gnu.org>
908 * automake.in (handle_lib_objects_cond): Ignore -dlopen and
909 -dlpreopen in _LIBADD variables too.
910 (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from
911 handle_lib_objects_cond.
912 * tests/libtool7.test: New file.
913 * tests/Makefile.am (TESTS): Add libtool7.test.
915 * automake.texi (Program and Library Variables): Clarify that
916 _LIBADD is for libraries and _LDADD for programs.
918 * automake.in (handle_source_transform): Correct typo from 2003-01-23.
920 2003-01-28 Alexandre Duret-Lutz <adl@gnu.org>
922 Fix for PR automake/352:
923 * automake.in (transform_variable_recursively): If the destination
924 and the source variables are the same, delete the source variable
925 before defining the destination variable.
926 (handle_programs): Strip any $(EXEEXT) suffix from $one_file,
927 or this will confuse handle_source_transform.
928 (append_exeext): Rewrite using transform_variable_recursively.
929 * tests/cond29.test, tests/cond30.test: New files.
930 * tests/exeext.test: Run ./configure and make, this uncovered
931 the above handle_programs issue.
932 * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
934 * automake.in (%subobjvar): Replace by ...
935 (%gen_varname): ... this.
936 (subobjname): Replace by ...
937 (gen_varname): ... this.
938 (initialize_per_input): Clean gen_varname instead of subobjname.
939 (transform_variable_recursively): New function, extracted
940 from define_objects_from_sources.
941 (define_objects_from_sources): Use transform_variable_recursively.
942 Remove the unused $parent argument.
943 (handle_source_transform): Adjust call to define_objects_from_sources.
945 2003-01-23 Alexandre Duret-Lutz <adl@gnu.org>
947 * automake.in (@substfroms, @substtos): Move near
948 traverse_variable_recursively.
949 (traverse_variable_recursively, traverse_variable_recursively_worker):
950 New functions, extracted from define_objects_from_sources.
951 (define_objects_from_sources): Rewrite using
952 traverse_variable_recursively.
953 (handle_source_transform): Use variables_conditionally_defined
954 instead of calling variable_conditions_recursive directly.
955 Adjust the call to define_objects_from_sources; there is no need
956 to reset @substtos, @substfroms, and %vars_scanned now.
957 (variable_conditions_recursive): Rewrite using
958 traverse_variable_recursively.
959 (variable_conditions_recursive_sub): Remove.
960 (variable_conditionally_defined): Fix condition comparison (the
961 consequence was that DIST_SUBDIRS was always output).
962 * lib/Automake/Condition.pm (merge): Allow merging several
965 2003-01-22 Alexandre Duret-Lutz <adl@gnu.org>
967 * automake.texi (Python): Explain that directory variables start
968 with either ${prefix} or ${exec_prefix}, and point to the
969 `Installation Directory Variables' section of the Autoconf manual.
971 2003-01-21 Alexandre Duret-Lutz <adl@gnu.org>
973 * lib/am/distdir.am (top_distdir, distdir): Define these
974 variables only in top level Makefile. Redefine $(top_distdir)
976 (distdir): Fix passing of $(top_distdir) to sub-makes.
977 * automake.in (handle_dist): Do not define the DISTDIR and
978 TOP_DISTDIR transformations. We don't need them anymore.
979 * automake.texi (Dist): Reorder the dist-hook section, and move
980 the DIST_SUBDIRS paragraph earlier. Document distdir and
982 * tests/subpkg.test: Update to check for $(distdir) and
985 2003-01-19 Alexandre Duret-Lutz <adl@gnu.org>
987 Rename more files to accomodate 8+3 file systems, and adjust the
988 vocabulary at the same time: AM_CONDITIONAL defines "conditionals",
989 and we call "condition" a conjunction of "conditionals".
990 * lib/am/Conditional.pm: Rename to lib/am/Condition.pm.
991 * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl.
992 * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm.
993 * lib/am/tests/ConditionalSet.pl: Rename to
994 lib/am/tests/DisjConditions.pl
995 * lib/am/Conditional.pm (condition_negate): Rename to ...
996 * lib/am/Condition.pm (conditional_negate): ... this.
997 * automake.in: Adjust references to Condition and DisjConditions.
998 (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ...
999 (check_ambiguous_condition, condition_ambiguous_p): ... these.
1001 * tests/README: New file.
1003 * automake.texi (Conditional Programs): Show a sample Makefile.am.
1004 Remind $(EXEEXT) must be appended to configure substitutions.
1005 Show how Automake conditionals can be used instead.
1006 * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
1007 appended to conditionally defined programs.
1009 2003-01-16 Jim Meyering <jim@meyering.net>
1011 Accept --help and --version, and lots of syntactic clean-up.
1012 * lib/install-sh: Use consistent indentation, two spaces per level.
1013 (scriptversion): New variable.
1014 Change initializations like `variable=""' to `variable='.
1015 (usage): New variable.
1016 Use `test', not `['.
1017 Use `test -z "$var"', not `[ x"$var" = x ]'.
1018 Use `test -n "$var"', not `[ x"$var" != x ]'.
1019 Alphabetize case entries.
1020 Accept --help and --version options.
1021 Remove unnecessary `else :' clauses.
1022 Add a `Local variables' eval block to help emacs users update
1023 the time-stamp variable added above.
1024 Mostly from Karl Berry.
1026 2003-01-16 Alexandre Duret-Lutz <adl@gnu.org>
1028 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
1031 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
1032 or `pyexecdir', for the sake of 64-bit distributions that usually
1033 use lib64/ instead of lib/. Fall back to the default directory
1035 Suggested by Gwenole Beauchesne.
1037 2003-01-14 Alexandre Duret-Lutz <adl@gnu.org>
1039 For PR automake/382:
1040 * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
1041 Explain BUILT_SOURCES is usually needed in this case.
1042 Reported by William S Fulton.
1044 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1046 Rename some files for the sake of 8+3 file systems.
1047 * tests/aclocali.test: Rename to tests/aclocal.test.
1048 * tests/aclocali1.test: Rename to tests/aclocal2.test.
1049 * tests/aclocalii.test: Rename to tests/aclocal3.test.
1050 * tests/acoutput.test: Rename to tests/acoutpt.test.
1051 * tests/acoutput2.test: Rename to tests/acoutpt2.test.
1052 * tests/acouttbs.test: Rename to tests/acoutbs.test.
1053 * tests/acouttbs2.test: Rename to tests/acoutbs2.test.
1054 * tests/autoheader.test: Rename to tests/autohdr.test.
1055 * tests/autoheader2.test: Rename to tests/autohdr2.test.
1056 * tests/condincl.test: Rename to tests/condinc.test.
1057 * tests/condincl2.test: Rename to tests/condinc2.test.
1058 * tests/distcommon.test: Rename to tests/distcom.test.
1059 * tests/distcommon2.test: Rename to tests/distcom2.test.
1060 * tests/distcommon3.test: Rename to tests/distcom3.test.
1061 * tests/installsh.test: Rename to tests/instsh.test.
1062 * tests/installsh2.test: Rename to tests/instsh2.test.
1063 * tests/instdata.test: Rename to tests/instdat.test.
1064 * tests/instdata2.test: Rename to tests/instdat2.test.
1065 * tests/libobj12b.test: Rename to tests/libobj13.test.
1066 * tests/link_f_c.test: Rename to tests/link_fc.test.
1067 * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
1068 * tests/link_f_cxx.test: Rename to tests/link_fcxx.test.
1069 * tests/nodefine.test: Rename to tests/nodef.test.
1070 * tests/nodefine2.test: Rename to tests/nodef2.test.
1071 * tests/required.test: Rename to tests/reqd.test.
1072 * tests/required2.test: Rename to tests/reqd2.test.
1073 * tests/sourcesub.test: Rename to tests/srcsub.test.
1074 * tests/sourcesub2.test: Rename to tests/srcsub2.test.
1075 * tests/specflags.test: Rename to tests/specflg.test.
1076 * tests/specflags2.test: Rename to tests/specflg2.test.
1077 * tests/specflags3.test: Rename to tests/specflg3.test.
1078 * tests/specflags6.test: Rename to tests/specflg6.test.
1079 * tests/specflags7.test: Rename to tests/specflg7.test.
1080 * tests/specflags8.test: Rename to tests/specflg8.test.
1081 * tests/specflags9.test: Rename to tests/specflg9.test.
1082 * tests/subdircond.test: Rename to tests/subcond.test.
1083 * tests/subdircond2.test: Rename to tests/subcond2.test.
1084 * tests/subdircond3.test: Rename to tests/subcond3.test.
1085 * tests/texinfo.test: Rename to tests/txinfo.test.
1086 * tests/texinfo2.test: Rename to tests/txinfo2.test.
1087 * tests/texinfo3.test: Rename to tests/txinfo3.test.
1088 * tests/texinfo4.test: Rename to tests/txinfo4.test.
1089 * tests/texinfo5.test: Rename to tests/txinfo5.test.
1090 * tests/texinfo6.test: Rename to tests/txinfo6.test.
1091 * tests/texinfo7.test: Rename to tests/txinfo7.test.
1092 * tests/texinfo8.test: Rename to tests/txinfo8.test.
1093 * tests/texinfo9.test: Rename to tests/txinfo9.test.
1094 * tests/texinfo10.test: Rename to tests/txinfo10.test.
1095 * tests/texinfo13.test: Rename to tests/txinfo13.test.
1096 * tests/texinfo16.test: Rename to tests/txinfo16.test.
1097 * tests/texinfo17.test: Rename to tests/txinfo17.test.
1098 * tests/texinfo18.test: Rename to tests/txinfo18.test.
1099 * tests/Makefile.am (TESTS): Adjust.
1100 * ChangeLog.1996: Rename to ChangeLog.96.
1101 * ChangeLog.1998: Rename to ChangeLog.98.
1102 * ChangeLog.2000: Rename to ChangeLog.00.
1103 * ChangeLog.2001: Rename to ChangeLog.01.
1104 * Makefile.am (EXTRA_DIST): Adjust.
1105 Reported by Richard Dawe.
1107 2003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
1109 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
1110 Use '_build' and '_inst' instead of '=build' and '=inst'.
1111 * tests/man2.test: Reflect change automake: check for files in
1112 '_build' and '_inst' directories instead of '=build' and '=inst'.
1114 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1116 Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
1117 * m4/lead-dot.m4: New file.
1118 * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
1119 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
1120 * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
1121 DEPDIR using am__leading_dot.
1122 * automake.in (require_build_directory): Define am__dirstamp, a new
1123 variable for the dirstamp basename, based on am__leading_dot.
1124 * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
1125 use $(am__dirstamp).
1126 Reported by Richard Dawe.
1128 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
1129 Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
1130 testing for programs.
1131 Reported by Richard Dawe.
1133 2003-01-10 Alexandre Duret-Lutz <adl@gnu.org>
1135 * Makefile.am (maintainer-check): Suggest using $sleep instead of
1137 * tests/defs.in (sleep): New variable.
1138 * tests/asm.test, tests/confsub.test, tests/lisp3.test,
1139 tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
1140 Use $sleep instead of sleep 2, to work around timestamp
1141 inconsistencies in Windows.
1142 Reported by Richard Dawe.
1144 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
1146 * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
1147 tests/man2.test, tests/subobj3.test, tests/suffix8.test,
1148 tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
1149 $SHELL is overridden by tests/defs, so it won't hurt even
1150 if $MAKE -e uses the $SHELL envvar.
1151 * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
1152 tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
1153 Reported by Richard Dawe.
1155 Build elisp files all at once instead of one by one.
1156 * automake.in (handle_emacs_lisp): Define am__ELFILES. Add
1157 elc-stamp to all's dependencies.
1158 * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
1159 (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
1160 (clean-lisp): Clean elc-stamp.
1161 * lib/elisp-comp: Reindent. Erase the temporatry directory
1162 from a trap. Propagate Emacs's exit status.
1163 * tests/lisp3.test: New file.
1164 * tests/Makefile.am (TESTS): Add lisp3.test.
1165 Reported by Ryan T. Sammartino.
1167 2003-01-09 Akim Demaille <akim@epita.fr>
1169 * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
1171 2003-01-08 Alexandre Duret-Lutz <adl@gnu.org>
1173 * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
1174 variables. Suggested by Ryan T. Sammartino.
1176 2003-01-05 Alexandre Duret-Lutz <adl@gnu.org>
1178 * automake.in (macro_define): Add missing `{$cond}' (typo from
1180 ($gen_copyright): Append year 2003.
1181 (version): Increase year.
1183 * tests/defs.in: Substitute aclocaldir instead of running
1184 the installed aclocal. Otherwise Libtool and Gettext
1185 tests get skipped when aclocal doesn't preexist.
1187 * tests/listval.test, tests/suffix2.test: Remove pointless -I
1188 argument to aclocal.
1192 Copyright (C) 2003 Free Software Foundation, Inc.
1194 This file is part of GNU Automake.
1196 GNU Automake is free software; you can redistribute it and/or modify
1197 it under the terms of the GNU General Public License as published by
1198 the Free Software Foundation; either version 2, or (at your option)
1201 GNU Automake is distributed in the hope that it will be useful,
1202 but WITHOUT ANY WARRANTY; without even the implied warranty of
1203 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1204 GNU General Public License for more details.
1206 You should have received a copy of the GNU General Public License
1207 along with autoconf; see the file COPYING. If not, write to
1208 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1209 Boston, MA 02111-1307, USA.