Alexandre Duret-Lutz [Wed, 28 Jan 2004 20:50:43 +0000 (20:50 +0000)]
* Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses.
* lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am,
lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am,
lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote
installation paths in install, uninstall, and installcheck rules,
as well as in am__installdirs variables. This is for the sake
of paths containing spaces.
* lib/am/install.am (installdirs-am, installdirs): Do not try
to create "" directories.
* test/instspc.test: New file.
* test/Makefile.am (TESTS): Add instspc.test.
Report from James Amundson.
Alexandre Duret-Lutz [Wed, 28 Jan 2004 17:08:33 +0000 (17:08 +0000)]
* doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes.
(Extending): Make it a subsection of Not Enough.
Alexandre Duret-Lutz [Wed, 28 Jan 2004 16:18:21 +0000 (16:18 +0000)]
* lib/gnupload (GPG): Use an absolute path. Suggestion from Gary
V. Vaughan.
(passphrase): Unset it this variable before using it, in case it
was exported. Report from Scott James Remnant.
Alexandre Duret-Lutz [Sun, 25 Jan 2004 13:55:50 +0000 (13:55 +0000)]
* lib/gnupload (usage): Fix example.
* Makefile.am (cvs-release): Fix call to gnupload.
From Jim Meyering.
Alexandre Duret-Lutz [Sat, 24 Jan 2004 19:22:10 +0000 (19:22 +0000)]
* lib/gnupload: New script.
* lib/Makefile.am (EXTRA_DIST): Distribute gnupload.
* Makefile.am (cvs-release): New target.
Alexandre Duret-Lutz [Fri, 23 Jan 2004 22:47:56 +0000 (22:47 +0000)]
* lib/am/python.am (uninstall-%DIR%PYTHON): Remove extra `;'s.
Fix python10.test.
Alexandre Duret-Lutz [Fri, 23 Jan 2004 22:43:19 +0000 (22:43 +0000)]
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use `s/xx//p'
instead of `/xx/ s///p'; the latter fails when GNU sed is run with
POSIXLY_CORRECT. Also strip superfluous -e.
Report from Miloslav Trmac.
Alexandre Duret-Lutz [Thu, 22 Jan 2004 22:11:04 +0000 (22:11 +0000)]
* tests/lex5.test: Sleep before calling AUTOMAKE the second time,
this fixes a spurious failure reported by Andreas Schwab. Also
make sure ylwrap is not installed unless needed, and exercise
--no-force.
Alexandre Duret-Lutz [Tue, 20 Jan 2004 21:57:42 +0000 (21:57 +0000)]
* doc/automake.texi (Dist): Document limitations of distcheck-hook
and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and
subpackages.
Alexandre Duret-Lutz [Tue, 20 Jan 2004 21:48:03 +0000 (21:48 +0000)]
* doc/automake.texi (Upgrading): New node.
Alexandre Duret-Lutz [Tue, 20 Jan 2004 20:22:39 +0000 (20:22 +0000)]
* automake.in (scan_autoconf_traces): AC_LIBTOOL_TAGS can be
correctly called without arguments as evidenced by the libtool
demo directories.
Alexandre Duret-Lutz [Tue, 13 Jan 2004 20:40:47 +0000 (20:40 +0000)]
* tests/conflnk3.test: Skip if `test -e' does not work.
Report from Lars Hecking.
Jim Meyering [Tue, 13 Jan 2004 13:25:15 +0000 (13:25 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Jan 2004 13:23:31 +0000 (13:23 +0000)]
Change `\n \t' to `\n\t ' in `defaultIFS' assignment.
Remove spurious SPACEs before TABs.
Alexandre Duret-Lutz [Mon, 12 Jan 2004 22:56:49 +0000 (22:56 +0000)]
* lib/py-compile: Check input files after option processing.
Ensure --basedir has an argument.
* lib/am/python.am (install-%DIR%PYTHON): Do not run py-compile
if nothing was installed.
* tests/python10.test: New file.
* tests/Makefile.am (TESTS): Add python10.test.
Suggested by Sander Niemeijer.
Alexandre Duret-Lutz [Mon, 12 Jan 2004 21:58:26 +0000 (21:58 +0000)]
* tests/txinfo29.test: Remove autom4te.cache.
Report from Greg Schafer.
Alexandre Duret-Lutz [Mon, 12 Jan 2004 09:51:26 +0000 (09:51 +0000)]
* lib/install-sh: Do not use "$@" in a context where it may be empty,
for the sake of OSF1/Tru64's shell.
Report from He Li.
Alexandre Duret-Lutz [Sun, 11 Jan 2004 20:50:32 +0000 (20:50 +0000)]
* lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
versions.
Alexandre Duret-Lutz [Sun, 11 Jan 2004 12:08:53 +0000 (12:08 +0000)]
2004-01-10 Peter Eisentraut <peter_e@gmx.net> (tiny change)
* m4/as.m4 (AM_PROG_AS): Format and align help string more
consistently.
* m4/depend.m4 (AM_DEP_TRACK): Likewise.
* m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
* m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
* m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
Alexandre Duret-Lutz [Sun, 11 Jan 2004 12:05:12 +0000 (12:05 +0000)]
* m4/as.m4, m4/depend.m4, m4/maintainer.m4, m4/multi.m4: Update
copyright years and serial.
Alexandre Duret-Lutz [Sun, 11 Jan 2004 11:53:17 +0000 (11:53 +0000)]
* m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.4.
Alexandre Duret-Lutz [Sat, 10 Jan 2004 23:12:46 +0000 (23:12 +0000)]
* m4/as.m4 (AM_PROG_AS): Format and align help string more
consistently.
* m4/depend.m4 (AM_DEP_TRACK): Likewise.
* m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
* m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
* m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
Alexandre Duret-Lutz [Sat, 10 Jan 2004 14:11:07 +0000 (14:11 +0000)]
* m4/lispdir.m4 (AM_PATH_LISPDIR): Don't use ? in sed regular
expressions; it doesn't conform to POSIX.
Alexandre Duret-Lutz [Sat, 10 Jan 2004 00:24:29 +0000 (00:24 +0000)]
* automake.in (shadow_unconditionally): New function...
(handle_source_transform): ... extracted from here.
(am_install_var): Use shadow_unconditionally to define %DISTVAR%.
* lib/am/data.am, lib/am/java.am, lib/am/lisp.am, lib/am/python.am,
lib/am/script.am: Add %DISTVAR% to DIST_COMMON.
* tests/cond33.test: Make sure all conditional files are distributed.
Report from Ralf Corsepius.
Alexandre Duret-Lutz [Thu, 8 Jan 2004 23:32:11 +0000 (23:32 +0000)]
* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p).
* lib/install-sh: Accept `install-sh -d' with 0..n arguments,
as well as `install-sh sources... dest' with multiple sources.
* tests/cond33.test: New file.
* tests/instsh2.test: Add more checks for install-sh.
* tests/transform.test: Test for installdirs.
* tests/Makefile.am (TESTS): Add cond33.test
Report from Ralf Corsepius.
Alexandre Duret-Lutz [Thu, 8 Jan 2004 20:22:24 +0000 (20:22 +0000)]
* automake.in (handle_configure): Skip AC_CONFIG_LINKS items which
do not look like DEST:SRC.
* tests/conflnk3.test: Check for AC_CONFIG_LINKS($computed).
Alexandre Duret-Lutz [Wed, 7 Jan 2004 21:58:14 +0000 (21:58 +0000)]
Fix for PR automake/289:
* automake.in (Automake::Struct::libtool_tag): New attribute. Define
it for the language that have a Libtool tag.
(%libtool_tags): New variable.
(handle_languages, define_compiler_variable)
(define_linker_variable): Pass --tag=XXX to libtool if supported.
(scan_autoconf_traces): Scan for _LT_AC_TAGCONFIG and AC_LIBTOOL_TAGS.
* tests/libtool3.test, tests/subobj9.test: Check that --tag=XXX is
output.
Alexandre Duret-Lutz [Wed, 7 Jan 2004 21:56:49 +0000 (21:56 +0000)]
Fix for PR automake/289:
* automake.in (Automake::Struct::libtool_tag): New attribute. Define
it for the language that have a Libtool tag.
(%libtool_tags): New variable.
(handle_languages, define_compiler_variable)
(define_linker_variable): Pass --tag=XXX to libtool if supported.
(scan_autoconf_traces): Scan for _LT_AC_TAGCONFIG and AC_LIBTOOL_TAGS.
* tests/libtool3.test, tests/subobj9.test: Check that --tag=XXX is
output.
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.