Branch :
2004-01-28 Alexandre Duret-Lutz <adl@gnu.org>
* 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.
* doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes.
(Extending): Make it a subsection of Not Enough.
* 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.
2004-01-25 Alexandre Duret-Lutz <adl@gnu.org>
* lib/gnupload (usage): Fix example.
* Makefile.am (cvs-release): Fix call to gnupload.
From Jim Meyering.
2004-01-24 Alexandre Duret-Lutz <adl@gnu.org>
* lib/gnupload: New script.
* lib/Makefile.am (EXTRA_DIST): Distribute gnupload.
* Makefile.am (cvs-release): New target.
2004-01-23 Alexandre Duret-Lutz <adl@gnu.org>
* lib/am/python.am (uninstall-%DIR%PYTHON): Remove extra `;'s.
Fix python10.test.
* 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.
2004-01-22 Alexandre Duret-Lutz <adl@gnu.org>
* 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.
2004-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
* doc/automake.texi (Dist): Document limitations of distcheck-hook
and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and
subpackages.
2004-01-20 Alexandre Duret-Lutz <adl@gnu.org>
* doc/automake.texi (Upgrading): New node.
2004-01-20 Gary V. Vaughan <gary@gnu.org>
* automake.in (scan_autoconf_traces): AC_LIBTOOL_TAGS can be
correctly called without arguments as evidenced by the libtool
demo directories.
2004-01-13 Alexandre Duret-Lutz <adl@gnu.org>
* tests/conflnk3.test: Skip if `test -e' does not work.
Report from Lars Hecking.
2004-01-13 Jim Meyering <jim@meyering.net>
* lib/install-sh: Change `\n \t' to `\n\t ' in `defaultIFS'
assignment. Remove spurious SPACEs before TABs.
2004-01-12 Alexandre Duret-Lutz <adl@gnu.org>
* 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.
* tests/txinfo29.test: Remove autom4te.cache.
Report from Greg Schafer.
* 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.
2004-01-11 Alexandre Duret-Lutz <adl@gnu.org>
* lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
versions.
* m4/as.m4, m4/depend.m4, m4/maintainer.m4, m4/multi.m4: Update
copyright years and serial.
* m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.4.
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.
2004-01-10 Paul Eggert <eggert@twinsun.com>
* m4/lispdir.m4 (AM_PATH_LISPDIR): Don't use \? in sed regular
expressions; it doesn't conform to POSIX.
2004-01-10 Alexandre Duret-Lutz <adl@gnu.org>
* 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.
2004-01-08 Alexandre Duret-Lutz <adl@gnu.org>
* 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.
* 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).
2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
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.
2003-01-07 Eric Sunshine <sunshine@sunshineco.com> (tiny change)
* lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
config.status.lineno.
2004-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
* doc/automake.texi (Rebuilding): Typo.
2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
* lib/am/Makefile.am (dist_am_DATA): Really add inst-vars.am.
2004-01-06 Alexandre Duret-Lutz <adl@gnu.org>
* THANKS: Add Bruce Korb.
2004-01-05 Alexandre Duret-Lutz <adl@gnu.org>
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.
* 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.
* 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%.
2004-01-04 Alexandre Duret-Lutz <adl@gnu.org>
* lib/texinfo.tex: New upstream version.
* 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.
2004-01-03 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (scan_texinfo_file): Do not compare $outfile to ''
as $outfile might not be defined at all.
* 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.
2004-01-02 Tom Tromey <tromey@redhat.com>
* 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.
2004-01-02 Alexandre Duret-Lutz <adl@gnu.org>
* 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.
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.
* 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/Makefile.am (TESTS): Add acloca14.test.
* tests/acloca14.test: New file.
Report from Phil Edwards.
2004-01-01 Alexandre Duret-Lutz <adl@gnu.org>
* 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.
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.
* automake.in, aclocal.in: Bump copyright years.
2003-12-31 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (generate_makefile): Update misleading comment.
* 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.
2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
* 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.
* 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.
2003-12-26 Alexandre Duret-Lutz <adl@gnu.org>
* 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".
2003-12-26 Santiago Vila <sanvila@unex.es> (tiny change)
* NEWS: s/Gettext 1.12.1/Gettext 0.12.1/
2003-12-25 Nicolas Joly <njoly@pasteur.fr> (tiny change)
* doc/automake.texi (Conditional Sources): Typo.
2003-12-25 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Automake/Config.in: Require Exporter.
Report from Kevin Ryde (failure with Perl 5.005_03).
2003-12-15 Alexandre Duret-Lutz <adl@gnu.org>
* tests/aclocal6.test: Check for autom4te.cache only if it has
been created.
* tests/maintclean.test: Update comment.
Report from Bruno Haible.
* tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
Require texi2dvi-o.
Report from V