Alexandre Duret-Lutz [Wed, 7 Jan 2004 19:40:49 +0000 (19:40 +0000)]
* lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
config.status.lineno.
Alexandre Duret-Lutz [Wed, 7 Jan 2004 19:30:45 +0000 (19:30 +0000)]
* doc/automake.texi (Rebuilding): Typo.
Alexandre Duret-Lutz [Wed, 7 Jan 2004 19:26:55 +0000 (19:26 +0000)]
* lib/am/Makefile.am (dist_am_DATA): Really add inst-vars.am.
Alexandre Duret-Lutz [Tue, 6 Jan 2004 22:31:17 +0000 (22:31 +0000)]
* THANKS: Add Bruce Korb.
Alexandre Duret-Lutz [Mon, 5 Jan 2004 22:21:31 +0000 (22:21 +0000)]
Mimic Paul Eggert's changes to Autoconf.
* Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
* lib/Automake/Makefile.am (Config.pm): Likewise.
* m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.
Alexandre Duret-Lutz [Mon, 5 Jan 2004 21:49:14 +0000 (21:49 +0000)]
* lib/am/inst-vars.am: New file, define am__vpath_adj_setup,
am__vpath_adj, and am__strip_dir.
* lib/am/Makefile.am (dist_am_DATA): Add inst-vars.am.
* lib/am/data.am, lib/am/lisp.am, lib/am/python.am,
lib/am/scripts.am: Include inst-vars.am, and use $(am__vpath_adj),
$(am__vpath_adj_setup), and $(am__strip_dir) in install and
uninstall rules. This fixes installation of nobase_ files in
VPATH setups with Sun and OSF1/Tru64 Make.
* lib/am/libs.am, lib/am/ltlib.am: Include inst-vars.am, and use
$(am__strip_dir) to simplify install and uninstall rules.
* tests/nobase.test: Augment to check installation from VPATH builds.
Alexandre Duret-Lutz [Mon, 5 Jan 2004 09:02:06 +0000 (09:02 +0000)]
* automake.in (%transformed_files): New variable.
(initialize_per_input): Reset it.
(make_paragraphs): Fill %transformed_files, and define %FIRST%
each time a file is transformed for the first time.
(handle_configure): Do not define %FIRST_CONFIG_HIN%.
(am_install_var): Do not define %FIRST%.
* lib/am/remake-hdr.am: Use %?FIRST% instead of %?FIRST_CONFIG_HIN%.
Alexandre Duret-Lutz [Sun, 4 Jan 2004 12:51:58 +0000 (12:51 +0000)]
* lib/texinfo.tex: New upstream version.
Alexandre Duret-Lutz [Sun, 4 Jan 2004 00:02:28 +0000 (00:02 +0000)]
* m4/mkdirp.m4: Do not use `-m 0755'. This overrides special bits
and break setups where 775 directories are expected. Just obey
umask as we did in the past.
Report from Harlan Stenn.
Alexandre Duret-Lutz [Sat, 3 Jan 2004 15:40:07 +0000 (15:40 +0000)]
* automake.in (scan_texinfo_file): Do not compare $outfile to ''
as $outfile might not be defined at all.
Alexandre Duret-Lutz [Sat, 3 Jan 2004 12:42:41 +0000 (12:42 +0000)]
* lib/Automake/Variable.pm (define): Rework the way we check
Automake variable definition. Ensure consistent :=/+=/=
definitions only for variables that have been and are defined by
Automake, and make it an internal error. Ignore Automake
attempts to touch a user variable, even with += assignments.
* tests/txinfo29.test: New file.
* tests/Makefile.am (TESTS): Add txinfo29.test.
Reported by Bruce Korb.
Tom Tromey [Fri, 2 Jan 2004 21:38:07 +0000 (21:38 +0000)]
* automake.in (handle_source_transform): Don't generate dist
variables when no-dist is set.
(generate_makefile): Likewise.
* tests/nodist3.test: Ensure that DIST_SOURCES is not created,
and that dist target does not exist.
Reported by Tom Fitzsimmons.
Alexandre Duret-Lutz [Fri, 2 Jan 2004 19:25:21 +0000 (19:25 +0000)]
* tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
* tests/ltconv.test: Run automake with --add-missing, because
the CVS version of libtoolize no longer install config.sub and
config.guess by default.
Alexandre Duret-Lutz [Fri, 2 Jan 2004 15:55:17 +0000 (15:55 +0000)]
Fix for PR automake/319:
* aclocal.in (scan_m4_files): Scan configure.ac.
(trace_used_macros, write_aclocal): Remove configure.ac from the
list of files to include.
* tests/Makefile.am (TESTS): Add acloca15.test.
* tests/acloca15.test: New file.
Alexandre Duret-Lutz [Fri, 2 Jan 2004 14:53:48 +0000 (14:53 +0000)]
* aclocal.in (%file_includes): New variable.
(scan_configure_dep): Compile $m4_include_rx and $ac_require_rx once.
(scan_file): Scan for included files, and process these files
recursively. Fill %file_includes and %file_contents. Return the
list of included files, not the contents.
(scan_m4_files): Adjust calls to scan_files.
(strip_redundant_includes): New function.
(trace_used_macros): Call it.
(write_aclocal): Likewise. Also check the mtime of included files.
* tests/Makfile.am (TESTS): Add acloca14.test.
* tests/acloca14.test: New file.
Report from Phil Edwards.
Alexandre Duret-Lutz [Thu, 1 Jan 2004 21:57:24 +0000 (21:57 +0000)]
* automake.in (handle_languages): Do not define DEP_FILES.
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Extract included
files with $(DEPDIR) in their name instead of DEP_FILES.
* tests/depend.test, tests/depend4.test, tests/exsource.test:
Adjust.
Suggested by Tom Tromey.
Alexandre Duret-Lutz [Thu, 1 Jan 2004 18:54:20 +0000 (18:54 +0000)]
Do not output .lo rules for programs and static libraries objects,
and do not output .o/.obj rules for libtool libraries. This is
about explicit rules only, not inference rules.
* automake.in (handle_single_transform_list): Rename as ...
(handle_single_transform): ... this. Take a single file
to transform (it was only called this way) and accept a new
%transform argument. Fill %lang_specific_files with list
references instead of strings, and append %transform to each
of these lists.
(define_objects_from_sources, handle_source_transform):
Take a %transform argument, and forward it to &handle_single_transform.
(handle_languages): Adjust to the new format of
%lang_specific_files, and honor its %transform part.
(handle_programs, handle_libraries, handle_ltlibraries): Override
%NONLIBTOOL% and %LIBTOOL% while calling handle_source_transform.
(make_paragraphs): Define %NONLIBTOOL% by default. Make sure
%transform settings override global settings.
* lib/am/depend2.am (%OBJ%, %OBJOBJ%): Define only if %NONLIBTOOL%.
* tests/libtool3.test: Augment to check Makefile.ins for unneeded
rules.
Suggested by Thomas Fitzsimmons.
Alexandre Duret-Lutz [Thu, 1 Jan 2004 17:34:18 +0000 (17:34 +0000)]
* automake.in, aclocal.in: Bump copyright years.
Alexandre Duret-Lutz [Wed, 31 Dec 2003 22:13:07 +0000 (22:13 +0000)]
* automake.in (generate_makefile): Update misleading comment.
Alexandre Duret-Lutz [Tue, 30 Dec 2003 23:49:58 +0000 (23:49 +0000)]
* automake.in (handle_languages): Define %DEPBASE% conditionally
on subdir-objects. Define SUBDIROBJ. Do not clean *_.c files
here ...
(lang_c_finish): ... do it here.
(handle_single_transform_list): Do not output specific rules for
subdir-objects files which are not renamed. This should reduce
the size of Makefiles with lots of subdirectory sources.
* lib/depcomp: Simplify computation of dependency output, and use
DEPDIR.
* lib/am/depend2.am (%EXT%.o, %EXT%.obj, %EXT%.lo): Adjust call
to depcomp. Compute depbase on-the-fly in generic fastdep rules
for subdir-objects.
* tests/ansi9.test: Do not grep for an explicit rule that
we no longer expect. Really run $MAKE to make sure the chain
of rules works.
* tests/yacc5.test: Do not grep for an explicit rule that
we no longer expect. Adjust to use set -e.
Alexandre Duret-Lutz [Sat, 27 Dec 2003 15:39:45 +0000 (15:39 +0000)]
* automake.in (@common_files): Move configure, configure.ac, and
configure.in ...
(@common_sometimes): ... here so that these files do not appear
twice in DIST_COMMON.
Alexandre Duret-Lutz [Sat, 27 Dec 2003 01:38:42 +0000 (01:38 +0000)]
* automake.in (maybe_push_required_file): Add $(srcdir) in front
a required files outside the current directory or its subdirectories.
* lib/am/distdir.am (distdir): Update comment.
Report from Nicolas Joly.
Alexandre Duret-Lutz [Fri, 26 Dec 2003 11:30:38 +0000 (11:30 +0000)]
* doc/automake.texi (@copying): Do not repeat the version.
(Top): Use @insertcopying. Add a @detailmenu, this works around
Emacs 21's inability to lookup indices in sub-nodes (reported
by Kevin Ryde).
(C++ Support, Assembly Support, Fortran 77 Support, Java Support,
Support for Other Languages, Preprocessing Fortran 77, Compiling
Fortran 77 Files, Mixing Fortran 77 With C and C++, How the Linker
is Chosen): Add missing descriptions in menus.
(Fortran 77 and Autoconf): Remove, this node was just saying "use
Autoconf 2.53 or greater".
Alexandre Duret-Lutz [Fri, 26 Dec 2003 03:57:59 +0000 (03:57 +0000)]
* NEWS: s/Gettext 1.12.1/Gettext 0.12.1/
Alexandre Duret-Lutz [Thu, 25 Dec 2003 18:15:25 +0000 (18:15 +0000)]
* doc/automake.texi (Conditional Sources): Typo.
Alexandre Duret-Lutz [Thu, 25 Dec 2003 18:09:01 +0000 (18:09 +0000)]
* lib/Automake/Config.in: Require Exporter.
Report from Kevin Ryde (failure with Perl 5.005_03).
Alexandre Duret-Lutz [Mon, 15 Dec 2003 22:45:06 +0000 (22:45 +0000)]
* tests/aclocal6.test: Check for autom4te.cache only if it has
been created.
* tests/maintclean.test: Update comment.
Report from Bruno Haible.
Alexandre Duret-Lutz [Mon, 15 Dec 2003 22:36:44 +0000 (22:36 +0000)]
* tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
Require texi2dvi-o.
Report from Václav Haisman.
Alexandre Duret-Lutz [Wed, 10 Dec 2003 19:09:15 +0000 (19:09 +0000)]
* configure.ac, NEWS: Bump version to 1.8a.
Alexandre Duret-Lutz [Wed, 10 Dec 2003 19:06:17 +0000 (19:06 +0000)]
* configure.ac, NEWS: Bump version to 1.8.
Alexandre Duret-Lutz [Wed, 10 Dec 2003 18:03:58 +0000 (18:03 +0000)]
* lib/texinfo.tex: New upstream version.
Alexandre Duret-Lutz [Wed, 10 Dec 2003 17:23:21 +0000 (17:23 +0000)]
* Makefile.am (INSTALL): Copy the source from $(srcdir).
Alexandre Duret-Lutz [Wed, 10 Dec 2003 17:20:06 +0000 (17:20 +0000)]
* lib/Automake/Rule.pm (define): Remove debugging traces.
Report from Akim Demaille.
Alexandre Duret-Lutz [Tue, 9 Dec 2003 21:24:12 +0000 (21:24 +0000)]
* Makefile.am (do_subst): Fix the substitution of @configure_input@.
(automake, aclocal): Create the output atomically and make it
read-only, as done in the Autoconf package.
* lib/Automake/Makefile.am (do_subst): Fix the substitution of
@configure_input@.
(Config.pm): Create the output atomically and make it read-only.
* m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Substitute
@configure_input@ and make the output read-only.
* lib/Automake/Config.in, m4/amversion.in, tests/aclocal.in,
tests/automake.in, tests/defs.in: Add a @configure_input@ line.
Alexandre Duret-Lutz [Tue, 9 Dec 2003 18:20:07 +0000 (18:20 +0000)]
* doc/automake.texi (Local Macros, CVS): Typos.
Alexandre Duret-Lutz [Tue, 9 Dec 2003 09:49:50 +0000 (09:49 +0000)]
typo
Alexandre Duret-Lutz [Mon, 8 Dec 2003 18:00:02 +0000 (18:00 +0000)]
* lib/Automake/Variable.pm (hook): Use $$ as prototype, not $&.
Perl 5.6.0 will not accept a reference sub reference for the
latter.
* automake.in (var_SUFFIXES_trigger): Adjust registration via
Automake::Variabke::hook.
(handle_texinfo_helper): Make sure `inner_expand => 1' appears
on one line, so that Perl 5.6.0 does not complain about
inner_expand being a bare identifier.
Alexandre Duret-Lutz [Fri, 5 Dec 2003 21:23:40 +0000 (21:23 +0000)]
complete previous ChangeLog entry
Alexandre Duret-Lutz [Fri, 5 Dec 2003 21:22:36 +0000 (21:22 +0000)]
* aclocal.in (check_acinclude): Output `warning:' in front
of warnings.
Report from Pavel Roskin.
Alexandre Duret-Lutz [Thu, 4 Dec 2003 21:11:12 +0000 (21:11 +0000)]
* TODO: Remove some old entries.
Alexandre Duret-Lutz [Thu, 4 Dec 2003 20:49:41 +0000 (20:49 +0000)]
* doc/automake.texi (Rebuilding): Document CONFIGURE_DEPENDENCIES
and CONFIG_STATUS_DEPENDENCIES. Move this sections later
in the manual since it's pretty advanced material.
Alexandre Duret-Lutz [Thu, 4 Dec 2003 18:17:20 +0000 (18:17 +0000)]
* automake.in ($config_header_location): Remove. Use
%ac_config_files_location instead.
(rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/
at the top-level.
(handle_configure): Use rewrite_inputs_into_dependencies to
distribute and compute AC_CONFIG_HEADERS dependencies.
(scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill
%ac_config_files_location.
* lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ...
(%CONFIG_HIN%): ... this. $(srcdir) is already added in
scan_autoconf_traces.
* tests/Makefile.am (TESTS): Add confh5.test.
* tests/confh5.test: New file.
Alexandre Duret-Lutz [Thu, 4 Dec 2003 18:07:13 +0000 (18:07 +0000)]
* tests/ltlibsrc.test: Fix the zoo_d_old2_la.c rule in Makefile.am,
$< is not portable and the source is in $(srcdir).
Alexandre Duret-Lutz [Wed, 3 Dec 2003 23:14:48 +0000 (23:14 +0000)]
* automake.in (handle_configure): Do not require link sources if
they contain a dollar, or if they were built. Likewise, do not
clean link destination if they contain a dollar.
(scan_autoconf_traces) <AC_CONFIG_LINKS>: Populate
%ac_config_files_location with link destinations. Do not
store locations in @config_links, now that %ac_config_files_location
have them.
* tests/conflnk3.test: New file.
* tests/Makefile.am (TESTS): Add conflnk3.test.
Alexandre Duret-Lutz [Tue, 2 Dec 2003 20:55:19 +0000 (20:55 +0000)]
* configure.ac, NEWS: Bump version to 1.7i.
Alexandre Duret-Lutz [Tue, 2 Dec 2003 20:43:16 +0000 (20:43 +0000)]
* configure.ac, NEWS: Bump version to 1.7h.
Alexandre Duret-Lutz [Tue, 2 Dec 2003 20:00:02 +0000 (20:00 +0000)]
* doc/automake.texi (Default _SOURCES): Fix reference to true.
Alexandre Duret-Lutz [Tue, 2 Dec 2003 19:56:18 +0000 (19:56 +0000)]
* lib/texinfo.tex: New upstream version.
Alexandre Duret-Lutz [Sun, 30 Nov 2003 17:00:37 +0000 (17:00 +0000)]
* automake.in (handle_source_transform): If it's present, use
libfoo_la.c instead of libfoo.c as the default source of
libfoo.la, and issue an -Wobsolete diagnostic. Do not be
greedy in the suffix replacement regex.
* doc/automake.texi (Default _SOURCES): New node.
(Program Sources, Libtool Modules): Refer to it.
* tests/ltlibsrc.test: Update to check for old default source files.
Alexandre Duret-Lutz [Sun, 30 Nov 2003 13:35:29 +0000 (13:35 +0000)]
* automake.in (&handle_source_transform): Calculate a default file
for use in the absence of an appropriate _SOURCES declaration by
first stripping any suffix from the unxformed target name, and
appending `.c'.
* doc/automake.texi (Program Sources, Libtool Modules): Document this.
* tests/ltlibsrc.test: New file.
* tests/Makefile.am (TESTS): Add ltlibsrc.test.
Alexandre Duret-Lutz [Sat, 29 Nov 2003 23:47:02 +0000 (23:47 +0000)]
* lib/Automake/Variable.pm (loc_and_value_as_list_recursive,
_value_as_list_recursive_worker): Merge into ...
(value_as_list_recursive): ... this function. Pass options
as a hash argument, and use the `location' option to trigger
the behavior of loc_and_value_as_list_recursive.
(traverse_recursively, transform_variable_recursively): Take
options as a %options argument.
(_do_recursive_traversal): Perform expansion of inner variables
(as in `$(FILE).ext') on request.
* automake.in (handle_options, check_libobjs_sources)
(handle_source_transform, handle_LIBOBJS, handle_ltlibraries)
(handle_ltlibraries, handle_man_pages, handle_dist)
(handle_gettext, am_install_var): Adjust usage of
value_as_list_recursive.
(handle_texinfo_helper): Pass inner_expand to
value_as_list_recursive.
* tests/txinfo28.test: New file.
* tests/Makefile.am (TESTS): Add txinfo28.test.
Report from Ralf Corsepius.
Alexandre Duret-Lutz [Sat, 29 Nov 2003 21:47:27 +0000 (21:47 +0000)]
* lib/Automake/Variable.pm (_do_recursive_traversal): Do not
update @_substfroms and @_substfroms for undefined variables.
* tests/substre2.test: New file.
* tests/Makefile.am (TESTS): Add substre2.test.
Alexandre Duret-Lutz [Sat, 29 Nov 2003 18:02:40 +0000 (18:02 +0000)]
* lib/Automake/VarDef.pm (value): Rename as ...
(raw_value): ... this.
(value): New method, strip # and \n.
(dump): Use raw_value.
* lib/Automake/Variable.pm (output): Use raw_value.
(value_as_list): Simplify, now that backslash and comments
are already removed.
* tests/txinfo22.test: Make sure Automake isn't confused
by comments in variables.
Alexandre Duret-Lutz [Thu, 27 Nov 2003 21:46:13 +0000 (21:46 +0000)]
* doc/automake.texi: More target vs. rule editing. Back out some
of the previous changes. It's OK to talk about targets as "entry
points", or as thing to build, but targets cannot be run: rules
are run.
Alexandre Duret-Lutz [Thu, 27 Nov 2003 19:53:49 +0000 (19:53 +0000)]
* doc/automake.texi: s/target/rule/ where appropriate. A target
is the destination of a target rule, not the rule itself.
Suggested by Bruno Haible.
Alexandre Duret-Lutz [Tue, 25 Nov 2003 22:58:07 +0000 (22:58 +0000)]
* configure.ac, NEWS: Bump version to 1.7g.
Alexandre Duret-Lutz [Tue, 25 Nov 2003 22:50:00 +0000 (22:50 +0000)]
* configure.ac, NEWS: Bump version to 1.7f.
Alexandre Duret-Lutz [Tue, 25 Nov 2003 22:19:44 +0000 (22:19 +0000)]
* automake.in (prepend_srcdir): Parenthesize @inputs to remove
a maintainer-check warning.
* tests/subst2.test: Rewrite the $MAKE invocation to please
maintainer-check.
Alexandre Duret-Lutz [Tue, 25 Nov 2003 22:10:14 +0000 (22:10 +0000)]
* lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
versions.
Alexandre Duret-Lutz [Tue, 25 Nov 2003 22:07:12 +0000 (22:07 +0000)]
* doc/automake.texi (Program variables): Mention per-target
_CPPFLAGS in the documentation of INCLUDES.
* automake.in (generate_makefile): Likewise in the INCLUDES diagnostic.
Report from Bob Friesenhahn.
Alexandre Duret-Lutz [Tue, 25 Nov 2003 21:48:24 +0000 (21:48 +0000)]
* doc/automake.texi (Extending): Elaborate on overriding.
* NEWS: Likewise.
Suggested by Bruno Haible.
Alexandre Duret-Lutz [Mon, 24 Nov 2003 22:13:42 +0000 (22:13 +0000)]
* lib/Automake/Variable.pm (output): Add $(am__empty) to variable
definitions that end with a line full of @substitutions@ that
would confuse HP-UX Make if it were blank.
(transform_variable_recursively): Make sure not to erase empty
variables.
* tests/Makefile.am (TESTS): Add subst2.test.
* tests/subst2.test: New file.
Report from Harlan Stenn.
Alexandre Duret-Lutz [Mon, 24 Nov 2003 07:39:10 +0000 (07:39 +0000)]
* lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a
Texinfo 4.1 bug.
Report from Dalibor Topic.
Alexandre Duret-Lutz [Sat, 22 Nov 2003 18:05:35 +0000 (18:05 +0000)]
Fix for PR automake/411:
* automake.in (rewrite_inputs_into_dependencies): Simplify, and rename
into ...
(prepend_srcdir): ... this.
(rewrite_inputs_into_dependencies): New function, extracted from ...
(handle_configure): ... here. Adjust to use prepend_srcdir
or rewrite_inputs_into_dependencies where needed. Especially,
using (the new) rewrite_inputs_into_dependencies to compute
Makefile dependencies will fix PR/411.
* lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's
already distributed by rewrite_inputs_into_dependencies.
* tests/Makefile.am (TESTS): Add output10.test, remove distcom.test.
* tests/colon3.test: Use set -e. Don't allow any AUTOMAKE
invocation refer to zardoz. Make sure two.in and three.in
appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies.
* tests/distcom.test: Delete. This is covered by tests/output9.test.
* tests/output10.test: New file, for PR/411.
Alexandre Duret-Lutz [Fri, 21 Nov 2003 19:16:12 +0000 (19:16 +0000)]
* automake.in (append_exeext): Do not append $(EXEEXT) to
@substitutions@.
* tests/exeext4.test: New file.
* tests/Makefile.am (TESTS): Add exeext4.test.
Alexandre Duret-Lutz [Wed, 19 Nov 2003 20:09:46 +0000 (20:09 +0000)]
* lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%,
mistakenly added on 2001-03-05.
* tests/remake5.test: New file.
* tests/Makefile.am (TESTS): Add remake5.test.
Report from Ralf Corsepius.
Alexandre Duret-Lutz [Tue, 18 Nov 2003 21:23:03 +0000 (21:23 +0000)]
* configure.ac, NEWS: Bump version to 1.7e.
Alexandre Duret-Lutz [Tue, 18 Nov 2003 21:21:00 +0000 (21:21 +0000)]
* configure.ac, NEWS: Bump version to 1.7d.
Alexandre Duret-Lutz [Tue, 18 Nov 2003 20:45:20 +0000 (20:45 +0000)]
* lib/config.sub, lib/config.guess, lib/texinfo.tex: New
upstream versions.
Alexandre Duret-Lutz [Tue, 18 Nov 2003 20:40:48 +0000 (20:40 +0000)]
* lib/am/texinfos.am (install-info): Depend on
install-info-recursive or install-info-am even if no-installinfo.
* tests/txinfo27.test: New file.
* tests/Makefile.am (TESTS): Add txinfo26.test.
Alexandre Duret-Lutz [Tue, 18 Nov 2003 20:06:44 +0000 (20:06 +0000)]
* lib/ylwrap: Do not overwrite headers if they haven't changed.
Fix the include guard substitution.
* tests/yacc6.test: Augment to run ylwrap, and make sure it
does not needlessly update headers.
* tests/yacc8.test: Make sure headers are not needlessly updated
with ylwrap is not used. Move `test -f foo.o' into the
Makefile as `test -f foo.$(OBJEXT)' for portability.
Alexandre Duret-Lutz [Mon, 17 Nov 2003 23:18:20 +0000 (23:18 +0000)]
* automake.in (generate_makefile): Define SUBDIRS if it is
not defined and DIST_SUBDIRS is.
* tests/subpkg2.test: New file.
* tests/Makefile.am (TESTS): Add subpkg2.test.
Report from Gary V. Vaughan.
Alexandre Duret-Lutz [Mon, 17 Nov 2003 21:13:00 +0000 (21:13 +0000)]
* tests/suffix11.test: Check for suffixes containing `-'.
* lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in
suffixes.
Alexandre Duret-Lutz [Mon, 17 Nov 2003 19:08:30 +0000 (19:08 +0000)]
* lib/Automake/Rule.pm (define): Suggest using target-local instead
of target-am, not target-am-local.
* tests/overrid.test: Check the diagnostic for clean-am.
Report from Bruno Haible.
Jim Meyering [Mon, 17 Nov 2003 09:05:40 +0000 (09:05 +0000)]
.
Jim Meyering [Mon, 17 Nov 2003 09:05:30 +0000 (09:05 +0000)]
Mark %MAKEFILE% as `.PRECIOUS'.
Jim Meyering [Mon, 17 Nov 2003 08:53:04 +0000 (08:53 +0000)]
.
Jim Meyering [Mon, 17 Nov 2003 08:52:30 +0000 (08:52 +0000)]
Require not only that `perl' have the executable
bit set, but also that it is not a directory.
Alexandre Duret-Lutz [Mon, 17 Nov 2003 00:33:43 +0000 (00:33 +0000)]
* automake.in (ac_config_files_location): Declare as a hash.
(handle_configure): Rewrite the computation of AC_CONFIG_FILES
dependencies; make sure we don't use $(srcdir) or $(top_srcdir)
for inputs which are also outputs, and do not check inputs
relatively to the current directory.
(scan_autoconf_config_files): Take $where as argument, and
fill $ac_config_files_location.
* tests/output8.test, tests/output9.test: New files.
* tests/Makefile.am (TESTS): Add output8.test and output9.test.
Report from Bruno Haible.
Alexandre Duret-Lutz [Fri, 14 Nov 2003 21:26:01 +0000 (21:26 +0000)]
* tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test,
tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test,
tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test,
tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
tests/all.test, tests/alpha.test, tests/amassign.test,
tests/ammissing.test, tests/ansi.test, tests/ansi10.test,
tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
tests/ansi7.test, tests/ansi9.test, tests/ar.test,
tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test,
tests/auxdir2.test, tests/backsl.test, tests/backsl2.test,
tests/badprog.test, tests/block.test, tests/canon2.test,
tests/canon3.test, tests/canon4.test, tests/canon5.test,
tests/ccnoco.test, tests/check.test, tests/check2.test,
tests/check3.test, tests/checkall.test, tests/clean.test,
tests/colneq2.test, tests/colon.test, tests/colon2.test,
tests/colon3.test, tests/colon4.test, tests/colon5.test,
tests/colon6.test, tests/colon7.test, tests/comment.test,
tests/comment2.test, tests/comment4.test, tests/comment6.test,
tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test,
tests/cond10.test, tests/cond11.test, tests/cond13.test,
tests/cond14.test, tests/cond15.test, tests/cond16.test,
tests/cond17.test, tests/cond18.test, tests/cond19.test,
tests/cond21.test, tests/cond22.test, tests/cond25.test,
tests/cond26.test, tests/cond28.test, tests/cond3.test,
tests/cond4.test, tests/cond5.test, tests/cond6.test,
tests/cond7.test, tests/cond8.test, tests/cond9.test,
tests/condd.test, tests/condinc.test, tests/condlib.test,
tests/condman.test, tests/condman2.test, tests/conf2.test,
tests/confdeps.test, tests/confh.test, tests/confh4.test,
tests/config.test, tests/confincl.test, tests/conflnk.test,
tests/conflnk2.test, tests/confsub.test, tests/confvar.test,
tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
tests/cxx.test, tests/cxxansi.test, tests/cxxcpp.test,
tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test,
tests/cxxo.test, tests/cygwin32.test, tests/dash.test,
tests/defun.test, tests/defun2.test, tests/dejagnu.test,
tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test,
tests/depdist.test, tests/depend.test, tests/depend2.test,
tests/depend3.test, tests/depend4.test, tests/destdir.test,
tests/dirlist.test, tests/discover.test, tests/distcom.test,
tests/distcom2.test, tests/distdir.test, tests/distname.test,
tests/dollar.test, tests/double.test, tests/dup2.test,
tests/empty.test, tests/empty2.test, tests/empty3.test,
tests/empty4.test, tests/error.test, tests/exdir.test,
tests/exeext.test, tests/exeext3.test, tests/exsource.test,
tests/ext.test, tests/ext2.test, tests/extra.test,
tests/extra2.test, tests/extra3.test, tests/extra4.test,
tests/extra5.test, tests/extra6.test, tests/extra7.test,
tests/flibs.test, tests/fnoc.test, tests/fo.test,
tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
tests/fpinstall.test, tests/gcj.test, tests/gcj3.test,
tests/gcj4.test, tests/gnits2.test, tests/gnits3.test,
tests/header.test, tests/implicit.test, tests/include.test,
tests/include2.test, tests/info.test, tests/insh2.test,
tests/install2.test, tests/installdir.test, tests/instdat.test,
tests/instdat2.test, tests/instexec.test, tests/insthook.test,
tests/instman.test, tests/instman2.test, tests/instsh.test,
tests/instsh2.test, tests/interp.test, tests/interp2.test,
tests/java.test, tests/java2.test, tests/javaprim.test,
tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
tests/lex.test, tests/lex3.test, tests/lex4.test, tests/lex5.test,
tests/libobj11.test, tests/libobj2.test, tests/libobj4.test,
tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
tests/library.test, tests/libtool.test, tests/libtool2.test,
tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test,
tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test,
tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test,
tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
tests/maintclean.test, tests/make.test, tests/makej.test,
tests/makevars.test, tests/man.test, tests/man2.test,
tests/mclean.test, tests/mdate.test, tests/mdate2.test,
tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test,
tests/mkinstall.test, tests/nobase.test, tests/nodef.test,
tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test,
tests/nodist.test, tests/nodist2.test, tests/nodist3.test,
tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
tests/nostdinc.test, tests/number.test, tests/obsolete.test,
tests/order.test, tests/outdir.test, tests/output.test,
tests/output2.test, tests/output3.test, tests/output4.test,
tests/parse.test, tests/phony.test, tests/pluseq.test,
tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test,
tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test,
tests/postproc.test, tests/ppf77.test, tests/pr2.test,
tests/pr204.test, tests/pr220.test, tests/pr224.test,
tests/pr229.test, tests/pr243.test, tests/pr266.test,
tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
tests/pr300-lib.test, tests/pr300-ltlib.test,
tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
tests/pr87.test, tests/pr9.test, tests/prefix.test,
tests/proginst.test, tests/python.test, tests/python3.test,
tests/python4.test, tests/python5.test, tests/python6.test,
tests/python7.test, tests/python8.test, tests/python9.test,
tests/recurs2.test, tests/remake.test, tests/remake2.test,
tests/remake3.test, tests/req.test, tests/reqd.test,
tests/rulepat.test, tests/scripts.test, tests/sinclude.test,
tests/space.test, tests/specflg3.test, tests/specflg6.test,
tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
tests/spell3.test, tests/spelling.test, tests/spy.test,
tests/stamph2.test, tests/stdlib2.test, tests/strip.test,
tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
tests/subdirbuiltsources.test, tests/subobj.test,
tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
tests/subpkg.test, tests/subst.test, tests/substref.test,
tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
tests/suffix9.test, tests/symlink2.test, tests/symlink3.test,
tests/tags.test, tests/tagsub.test, tests/target-cflags.test,
tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test,
tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test,
tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test,
tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test,
tests/unused.test, tests/vars.test, tests/vars3.test,
tests/vartar.test, tests/version.test, tests/version2.test,
tests/version4.test, tests/version6.test, tests/version7.test,
tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
tests/werror.test, tests/whoami.test, tests/yacc.test,
tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
tests/yaccpp.test, tests/yaccvpath.test: Fix license to refer
to Automake, not autoconf.
Alexandre Duret-Lutz [Fri, 14 Nov 2003 21:12:27 +0000 (21:12 +0000)]
Fix for PR automake/408:
* lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix
from $file, as already done for dist-info.
* tests/Makefile.am (TESTS): Add txinfo26.test.
* tests/txinfo26.test: New file.
Report from Nicholas Wourms.
Alexandre Duret-Lutz [Thu, 13 Nov 2003 19:39:06 +0000 (19:39 +0000)]
* m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before
running AC_CHECK_PROGS(EMACS).
* lib/am/lisp.am (elc-stamp): Quote $(EMACS).
Report from Jens Petersen.
Alexandre Duret-Lutz [Thu, 13 Nov 2003 19:27:14 +0000 (19:27 +0000)]
* tests/mkinst2.test: Rewrite.
Alexandre Duret-Lutz [Thu, 13 Nov 2003 19:18:03 +0000 (19:18 +0000)]
* m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND.
Alexandre Duret-Lutz [Wed, 12 Nov 2003 23:37:28 +0000 (23:37 +0000)]
update release instructions
Alexandre Duret-Lutz [Wed, 12 Nov 2003 19:29:53 +0000 (19:29 +0000)]
* automake.in (scan_autoconf_traces): Honor sinclude.
* tests/sinclude.test: Check for sinclude.
Report from Roberto Bagnara.
Alexandre Duret-Lutz [Tue, 11 Nov 2003 22:48:53 +0000 (22:48 +0000)]
* Makefile.am: Do not rerun `make dist' after tagging, `make distcheck'
already build the tarballs. Commit files right before tagging.
Check NEWS before running distcheck.
Alexandre Duret-Lutz [Tue, 11 Nov 2003 22:06:17 +0000 (22:06 +0000)]
* m4/amversion.in (AM_AUTOMAKE_VERSION): Missing cosmetic space.
Alexandre Duret-Lutz [Tue, 11 Nov 2003 21:44:05 +0000 (21:44 +0000)]
* configure.ac, NEWS: Bump version to 1.7c.
Alexandre Duret-Lutz [Tue, 11 Nov 2003 21:39:26 +0000 (21:39 +0000)]
* configure.ac, NEWS: Bump version to 1.7b.
* Makefile.am (maintainer-check): Ignore comments while
scanning for rm without -f.
Alexandre Duret-Lutz [Tue, 11 Nov 2003 21:08:15 +0000 (21:08 +0000)]
* Makefile.am (fetch): Get all files from savannah. Do not
postprocess Struct.pm and XFiles.pm, since we now are the master
of these.
* lib/config.sub, lib/config.guess, lib/config-ml.in,
lib/texinfo.tex: New upstream versions.
Alexandre Duret-Lutz [Tue, 11 Nov 2003 13:51:26 +0000 (13:51 +0000)]
* configure.ac: Check that autoconf is installed, that it works,
and that it is recent enough in three steps, not one.
Alexandre Duret-Lutz [Tue, 11 Nov 2003 13:17:48 +0000 (13:17 +0000)]
* NEWS: Minor edits.
Alexandre Duret-Lutz [Tue, 11 Nov 2003 13:03:08 +0000 (13:03 +0000)]
* lib/Makefile.am (dist_script_DATA): Move config-ml.in ...
(dist_pkgvdata_DATA): ... here.
Alexandre Duret-Lutz [Tue, 11 Nov 2003 12:07:46 +0000 (12:07 +0000)]
* tests/spy.test: Document overlapping ::-rules incompatibilities,
and check only non-overlapping ::-rules.
Alexandre Duret-Lutz [Tue, 11 Nov 2003 00:07:17 +0000 (00:07 +0000)]
* doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML,
MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI,
TEXI2PDF, DVIPS, and TEXINFO_TEX in a table.
(Uniform): Do not speak of missing HTML support, this is
confusing.
* lib/Automake/Variable.pm (_silent_variable_override): Add
AM_MAKEINFOHTMLFLAGS.
* lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and
AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS.
* lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define.
* tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS.
Alexandre Duret-Lutz [Mon, 10 Nov 2003 21:49:21 +0000 (21:49 +0000)]
* tests/spy.test: New file.
* tests/Makefile.am (TESTS): Add spy.test.
Alexandre Duret-Lutz [Mon, 10 Nov 2003 21:01:34 +0000 (21:01 +0000)]
remove (not distributed, useless)
Alexandre Duret-Lutz [Mon, 10 Nov 2003 20:55:33 +0000 (20:55 +0000)]
* automake.in (handle_configure): Distribute and define mkinstalldirs
only if it is already present in the package.
(scan_autoconf_files): Do not require mkinstalldirs.
(require_build_directory): Use $(mkdir_p), not $(mkinstalldirs).
* lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am,
lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs).
* m4/mkdirp.m4: New file.
* m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4.
* m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P.
* tests/Makefile.am (TESTS): Remove insh.test.
* tests/insh.test: Delete.
* tests/defs.in, tests/instsh.test: Do not install mkinstalldirs.
* tests/auxdir.test: Install mkinstalldirs.
* tests/distdir.test, tests/instman.test, tests/pr2.test: Use
$(mkdir_p), not $(mkinstalldirs).
* tests/empty.test: Run configure, do not substitute things by hand.
* doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh
as an example, not mkinstalldirs.
(Auxiliary Programs) <mkinstalldirs>: Update.
Alexandre Duret-Lutz [Mon, 10 Nov 2003 20:09:40 +0000 (20:09 +0000)]
* tests/defs.in: Handle required=bzip2.