Akim Demaille [Wed, 21 Feb 2001 08:20:40 +0000 (08:20 +0000)]
* distdir.am (distdir): Be sure to have permissive rights on its
contents.
(dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
targets.
And BTW, all these guys are phony.
* automake.in (&handle_dist_worker): As its name doesn't indicate,
output distributions.
(&handle_dist): As its name doesn't indicate, don't.
(&initialize_global_constants): Don't define variables which
content is now handled by distdir.am.
But register `dist-all' as a factored target.
(&handle_factored_dependencies): Don't output empty targets.
Tom Tromey [Wed, 21 Feb 2001 02:49:25 +0000 (02:49 +0000)]
* m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
invocation.
Pavel Roskin [Mon, 19 Feb 2001 15:20:45 +0000 (15:20 +0000)]
Rebuild.
Tom Tromey [Mon, 19 Feb 2001 00:12:15 +0000 (00:12 +0000)]
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
(AM_PROG_STRIP): Commented out.
Tom Tromey [Sun, 18 Feb 2001 01:29:54 +0000 (01:29 +0000)]
2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
* depcomp (gcc3): Protect against the compiler deleting
the dependency output file.
Tom Tromey [Sun, 18 Feb 2001 00:35:19 +0000 (00:35 +0000)]
2001-02-17 Tom Tromey <tromey@redhat.com>
* automake.in (handle_merge_targets): Use double quotes around
setting of INSTALL_STRIP_PROGRAM.
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
to absolute path at runtime.
(AM_PROG_STRIP): Don't explicitly test $STRIP.
2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/strip.m4: New file.
* m4/Makefile.am (m4data_DATA): Add strip.m4.
* m4/init.m4: Call AM_PROG_INSTALL_STRIP.
* m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
(AM_MISSING_INSTALL_SH, AM_MISSING_HAS_RUN): Use $am_aux_dir instead
of $ac_aux_dir, and require AM_AUX_DIR_EXPAND.
* m4/depend.m4 (AM_DEP_TRACK): Likewise.
* automake.in (handle_merge_targets): In the install-strip rule,
set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
* progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
don't use INSTALL_STRIP_FLAG any longer.
* header-vars.am (INSTALL_STRIP_FLAG): Remove.
(INSTALL_PROGRAM_ENV): New variable.
Tom Tromey [Sat, 17 Feb 2001 02:35:53 +0000 (02:35 +0000)]
2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
argument.
Tom Tromey [Sat, 17 Feb 2001 02:34:19 +0000 (02:34 +0000)]
2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (unquote_m4_arg): New function.
(scan_one_configure_file): Call unquote_m4_arg on
AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
works.
Tom Tromey [Fri, 16 Feb 2001 06:48:01 +0000 (06:48 +0000)]
* config.guess, config.sub: New versions from FSF.
* Makefile.am (WGET): New macro.
(FETCHFILES): New macro.
(fetch): New target.
Tom Tromey [Fri, 16 Feb 2001 06:16:27 +0000 (06:16 +0000)]
* tests/subobj3.test: Exit with status 77 if gcc not found.
* tests/pr9.test: Exit with status 77 if gzip not found.
* tests/pr87.test: Exit with status 77 if gcc not found.
* tests/pr19.test: Exit with status 77 if gzip or gcc not found.
* tests/install2.test: Exit with status 77 if gzip not found.
* tests/exsource.test: Exit with status 77 if GNU make not found.
* tests/ansi3.test: Exit with status 77 if gcc not found.
* tests/target-cflags.test: Require GNU make. Exit with status 77
if gcc or make not found. Fixes PR automake/121.
Tom Tromey [Fri, 16 Feb 2001 05:56:09 +0000 (05:56 +0000)]
* configure.in: Require Perl 5.005.
* automake.in: Require 5.005.
Tom Tromey [Fri, 16 Feb 2001 01:20:22 +0000 (01:20 +0000)]
* automake.texi (Top): Conditionalize on `nottex', not `info'.
Fixes PR automake/122.
Tom Tromey [Thu, 15 Feb 2001 03:56:36 +0000 (03:56 +0000)]
* automake.in (add_depend2): Only emit a given object rule once.
Fixes specflags6.test.
Tom Tromey [Thu, 15 Feb 2001 02:49:08 +0000 (02:49 +0000)]
2001-02-14 Richard Boulton <richard@tartarus.org>
* tests/specflags6.test: New file.
Tom Tromey [Wed, 14 Feb 2001 20:54:25 +0000 (20:54 +0000)]
* automake.texi (A Shared Library): Mention -module.
Tom Tromey [Wed, 14 Feb 2001 02:33:43 +0000 (02:33 +0000)]
* automake.in (do_one_merge_target): Always register $name and
$name-am as phony.
Tom Tromey [Tue, 13 Feb 2001 18:00:34 +0000 (18:00 +0000)]
* automake.in (do_one_merge_target): Register `all' as phony
target.
Tom Tromey [Tue, 13 Feb 2001 07:03:55 +0000 (07:03 +0000)]
* configure.in: Updated to 1.4e for cvs.
Tom Tromey [Tue, 13 Feb 2001 06:52:58 +0000 (06:52 +0000)]
* configure.in: Updated to 1.4d and released.
Tom Tromey [Tue, 13 Feb 2001 06:43:43 +0000 (06:43 +0000)]
* m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
names through autoconf.
Tom Tromey [Mon, 12 Feb 2001 16:49:56 +0000 (16:49 +0000)]
2001-02-12 Tom Tromey <tromey@redhat.com>
Fix for subdirbuiltsources.test:
* automake.in (initialize_per_input): [all_target] Initialize to
empty string.
(handle_merge_targets): Use all-redirect target to handle built
sources.
(do_one_merge_target): Don't generate all-redirect rule.
2001-02-11 Peter Muir <iyhi@yahoo.com>
* tests/subdirbuiltsources.test: New file.
* tests/Makefile.am (TESTS): Added new file.
Pavel Roskin [Mon, 12 Feb 2001 15:39:23 +0000 (15:39 +0000)]
Rebuild.
Tom Tromey [Sat, 10 Feb 2001 19:50:18 +0000 (19:50 +0000)]
* tests/condlib.test: New file.
* tests/Makefile.am (TESTS): Added new file.
Tom Tromey [Sat, 10 Feb 2001 19:04:24 +0000 (19:04 +0000)]
2001-02-10 Lars J. Aas <larsa@sim.no>
* automake.in ($MACRO_PATTERN): Include '@' in name regex.
(&canonicalize): New. Includes '@' in canonical range.
(&check_canonical_spelling, &handle_programs, &handle_libraries,
&handle_ltlibraries, &handle_texinfo): Use &canonicalize.
Tom Tromey [Sat, 10 Feb 2001 19:02:28 +0000 (19:02 +0000)]
2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
* automake.in (handle_configure): Revert part of
'2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
set CONFIG_COMMANDS explicitly.
Tom Tromey [Sat, 10 Feb 2001 01:26:54 +0000 (01:26 +0000)]
2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
* depcomp (gcc3): Propagate exit code.
Tom Tromey [Fri, 9 Feb 2001 21:52:30 +0000 (21:52 +0000)]
* header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
Tom Tromey [Fri, 9 Feb 2001 07:06:53 +0000 (07:06 +0000)]
Clean up maintainer-check warnings:
* Makefile.am (maintainer-check): Ignore comment lines in CDPATH
check.
* automake.in (handle_dist_worker): Removed redundant `my $xform'.
Akim Demaille [Fri, 9 Feb 2001 03:39:18 +0000 (03:39 +0000)]
* automake.in (&file_contents): Remove a dead branch.
Akim Demaille [Fri, 9 Feb 2001 03:38:16 +0000 (03:38 +0000)]
* automake.in (&transform): Use `my', not `local'.
(&transform_cond): New.
(&get_object_extension, &handle_texinfo, &handle_tags)
(&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
(&handle_tests_dejagnu): Use it.
* texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
* dejagnu.am, data.am, clean.am: Adjust to the new syntax.
Akim Demaille [Fri, 9 Feb 2001 02:48:24 +0000 (02:48 +0000)]
* automake.in: Various formatting changes, and modernization of
Perl constructs.
(&backname): New.
(&handle_configure, define_standard_variables): Use it.
Tom Tromey [Fri, 9 Feb 2001 02:30:27 +0000 (02:30 +0000)]
* automake.in (file_contents): Only add $actions if any are
found. Fixes new failure in pr87.test.
Pavel Roskin [Fri, 9 Feb 2001 01:18:38 +0000 (01:18 +0000)]
* tests/pr87.test: Check foo/Makfile.in after it is created.
Tom Tromey [Thu, 8 Feb 2001 19:32:30 +0000 (19:32 +0000)]
updated comment
Tom Tromey [Thu, 8 Feb 2001 19:31:12 +0000 (19:31 +0000)]
* tests/pr87.test: Added check for blank line after `.c.o' rule.
Report from Lars J. Aas.
Tom Tromey [Thu, 8 Feb 2001 19:13:23 +0000 (19:13 +0000)]
mention Perl 5 in HACKING
Tom Tromey [Thu, 8 Feb 2001 06:36:14 +0000 (06:36 +0000)]
* lisp.am (install-@DIR@LISP): Removed extra space.
* header.am (install-@DIR@HEADERS): Removed extra space.
* data.am (install-@DIR@DATA): Removed extra space.
Tom Tromey [Thu, 8 Feb 2001 06:32:16 +0000 (06:32 +0000)]
* m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
Tom Tromey [Thu, 8 Feb 2001 05:48:09 +0000 (05:48 +0000)]
* automake.in (handle_dependencies): Use _am_include, not
AMINCLUDE.
* tests/exsource.test: Use _am_include, not AMINCLUDE.
* m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
Tom Tromey [Thu, 8 Feb 2001 05:44:52 +0000 (05:44 +0000)]
updated HACKING
Tom Tromey [Thu, 8 Feb 2001 05:21:43 +0000 (05:21 +0000)]
* tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
Tom Tromey [Wed, 7 Feb 2001 21:51:39 +0000 (21:51 +0000)]
* tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
Tom Tromey [Wed, 7 Feb 2001 21:19:35 +0000 (21:19 +0000)]
Renamed ChangeLog
Tom Tromey [Wed, 7 Feb 2001 21:15:06 +0000 (21:15 +0000)]
* automake.in (handle_configure): Handle case where output file is
in subdir with no Makefile of its own. Fixes remake3.test,
distcommon.test.
Tom Tromey [Wed, 7 Feb 2001 21:14:12 +0000 (21:14 +0000)]
* Makefile.am (XFAIL_TESTS): Removed remake3.test,
distcommon.test.
Tom Tromey [Wed, 7 Feb 2001 20:55:43 +0000 (20:55 +0000)]
* Makefile.am (XFAIL_TESTS): Added new files.
Tom Tromey [Wed, 7 Feb 2001 20:55:07 +0000 (20:55 +0000)]
* distcommon.test: New file.
* Makefile.am (TESTS): Added new file.
Tom Tromey [Wed, 7 Feb 2001 20:07:28 +0000 (20:07 +0000)]
* distcommon.test: New file.
* Makefile.am (TESTS): Added new file.
Akim Demaille [Tue, 6 Feb 2001 15:10:35 +0000 (15:10 +0000)]
Typos.
Pavel Roskin [Tue, 6 Feb 2001 15:03:59 +0000 (15:03 +0000)]
* automake.in (handle_dependencies): Rename AM_INCLUDE to
AMINCLUDE.
* m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
* tests/exsource.test: Likewise.
Akim Demaille [Tue, 6 Feb 2001 10:25:21 +0000 (10:25 +0000)]
* autoheader.sh: only set config_h for the first call to
AC_CONFIG_HEADERS
Akim Demaille [Tue, 6 Feb 2001 10:21:38 +0000 (10:21 +0000)]
* automake.in (handle_configure): fix syntax error
Akim Demaille [Tue, 6 Feb 2001 10:17:57 +0000 (10:17 +0000)]
* subdirs.am: This file is the exception: clean recursive targets
are called by the clean targets, not the clean-am targets.
Otherwise we have a circular dependency: clean -> clean-am ->
clean-recursive -> clean.
* automake.in (handle_clean): Bind `-local' targets to `-am'
targets, not top targets.
Don't declare -recursive dependencies of the clean targets:
`subdirs.am' did it. Less hard coded knowledge, transfered
into...
* clean.am: here.
Akim Demaille [Tue, 6 Feb 2001 09:22:15 +0000 (09:22 +0000)]
Fix `unless' uses.
Akim Demaille [Tue, 6 Feb 2001 09:11:00 +0000 (09:11 +0000)]
Add maintainer-clean.
Akim Demaille [Tue, 6 Feb 2001 09:09:36 +0000 (09:09 +0000)]
Monstro unsplitable patch.
The aim is to remove hard coded knowledge about clean targets from
automake.in, leaving them in the *.am files.
In addition to the mechanic needed to factor some dependencies, it
appears some rules (most notably distclean and maintainer-clean)
need factored actions. So first, be ready to catch factored
rules.
* automake.in (&file_contents): For the time being, use an extended
$RULE_PATTERN which is able to match any kind of rules, with or
without dependency, with or without actions.
Handle all the rules uniformly, storing in %actions the factored
actions.
(&flatten, &target_cmp): New.
(&handle_factored_dependencies): Output the %actions.
No longer special case `clean'.
Output the rules in alphabetical order, but keeping `.PHONY' last.
Now we must not use &push_phony_cleaners, which is doing all sort
of magic to push a bit of everything in all the clean targets.
The biggest problem being that, making a Cartesian product, it
requires many useless targets. The `*.am' file know better.
But first, register the new factored rules.
* automake.in (&initialize_per_input): Include clean, mostlyclean,
maintainer-clean, distclean and their `*-am' counterpart in
%dependencies.
Initialize %actions.
(get_object_extension, handle_texinfo, handle_tags, handle_multilib)
handle_dependencies, handle_subdirs, handle_configure, handle_clean)
(handle_emacs_lisp, handle_python): Don't play with
&push_phony_cleaners nor &depend and `clean'.
* texinfos.am, texi-vers.am, tags-clean.am:
* subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
* libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
* clean-kr.am, clean-hdr.am: Do it.
Whenever a target is empty, just remove it, it will no longer be
called.
There is still some magic about clean to hard code. But really,
that's the end of &do_one_clean_target.
* automake.in (&do_one_clean_target): Kaboom out.
(&handle_clean): Rewrite the magic code.
(&am_install_var): No longer use &push_phony_cleaners, nor depend
on `clean'.
(&push_phony_cleaners): Kaboom too.
Akim Demaille [Tue, 6 Feb 2001 09:08:56 +0000 (09:08 +0000)]
* automake.in (do_one_clean_target): Don't hard code knowledge
about libtool, and maintainer-clean.
* clean.am, libtool.am: Handle these.
Akim Demaille [Mon, 5 Feb 2001 09:11:10 +0000 (09:11 +0000)]
* automake.in (handle_texinfo): No longer hard code the clean
targets.
(texinfos.am): Include them.
Akim Demaille [Mon, 5 Feb 2001 09:09:17 +0000 (09:09 +0000)]
* Makefile.am (perl4-check): Remove, we now require Perl 5.
(maintainer-check): Don't be silent when you find a problem, and
actually, even specify the locations.
Also check that @_ is assigned to arrays.
Akim Demaille [Mon, 5 Feb 2001 09:06:41 +0000 (09:06 +0000)]
* m4/regex.m4: Use AC_LIBSOURCES.
* automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
_AC_LIBOBJ_DECL.
Tom Tromey [Mon, 5 Feb 2001 06:59:03 +0000 (06:59 +0000)]
* m4/Makefile.am (m4data_DATA): Added make.m4.
* automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
dependency files.
* m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
Copy depcomp to subdir.
* m4/make.m4: New file.
Tom Tromey [Mon, 5 Feb 2001 06:58:21 +0000 (06:58 +0000)]
* exsource.test: Updated for new include code.
Pavel Roskin [Mon, 5 Feb 2001 01:42:12 +0000 (01:42 +0000)]
* automake.in (handle_dist_worker): Remove a line that is now
in distdir.am.
Tom Tromey [Sun, 4 Feb 2001 23:49:53 +0000 (23:49 +0000)]
2001-02-04 Kevin Ryde <user42@zip.com.au>
* automake.in (handle_configure): Call config.status with empty
CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
Tom Tromey [Sun, 4 Feb 2001 23:31:46 +0000 (23:31 +0000)]
* depcomp (ddashmd): Removed case.
(sgi): Handle failure exit correctly
(aix): Likewise. Also, add dummy `.h' targets.
Akim Demaille [Sun, 4 Feb 2001 16:50:49 +0000 (16:50 +0000)]
Add.
Akim Demaille [Sun, 4 Feb 2001 15:10:23 +0000 (15:10 +0000)]
* distdir.am (distdir): New file, extracted from...
* automake.in (handle_dist_worker): here.
Adjust.
Akim Demaille [Sun, 4 Feb 2001 14:43:00 +0000 (14:43 +0000)]
* automake.in (@clean): Remove, replaced by...
($dependencies{'clean'}): this.
Use `&depend' instead of push'ing into @clean.
(handle_factored_dependencies): For the time being, skip 'clean'.
(do_one_clean_target): Don't ask for argument 1 and 4 as they are
always `clean', and `@clean'.
Akim Demaille [Sun, 4 Feb 2001 14:42:37 +0000 (14:42 +0000)]
* automake.in (%dependencies): Don't be initialize globally for
all the files, but in...
(&initialize_per_input): here.
(&depend): New.
(@phony): Replace all occurrences with the corresponding &depend
invocation.
Tom Tromey [Sun, 4 Feb 2001 04:43:11 +0000 (04:43 +0000)]
* header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
* header-vars.am (INSTALL_HEADER): New macro.
Tom Tromey [Sun, 4 Feb 2001 04:37:10 +0000 (04:37 +0000)]
* automake.texi (Rebuilding): New node.
Tom Tromey [Sun, 4 Feb 2001 04:03:08 +0000 (04:03 +0000)]
2000-12-29 Derek Price <derek.price@openavenue.com>
* automake.in (handle_dependencies): Switched the DEP_FILES
definition to be conditional on @AMDEP@.
Tom Tromey [Sun, 4 Feb 2001 03:51:19 +0000 (03:51 +0000)]
2001-02-03 Ville Laurikari <vlaurika@hutcs.cs.hut.fi>
* depcomp (aix): New side-effect dependency tracking mode, for
the C for AIX compiler.
* m4/depend.m4 (AM_DEPENDENCIES): Recreate `conftest.c' and
`conftest.h' for each test.
Tom Tromey [Sun, 4 Feb 2001 03:44:01 +0000 (03:44 +0000)]
* automake.texi (Dist): Updated to mention caveat of putting
directory in EXTRA_DIST and also providing a nice example of
removing the CVS dir.
From Ganesan Rajagopal.
Tom Tromey [Sun, 4 Feb 2001 03:41:45 +0000 (03:41 +0000)]
* m4/depend.m4 (depcpp): Run tests in a subdir. Fixes report from
Bob Proulx.
Tom Tromey [Sun, 4 Feb 2001 03:29:15 +0000 (03:29 +0000)]
* automake.in (scan_one_autoconf_file): Disable warning about
AM_PROG_LIBTOOL.
Tom Tromey [Sun, 4 Feb 2001 03:27:52 +0000 (03:27 +0000)]
* automake.in (handle_configure): Don't modify variable which
aliases list element. Don't push @inputs onto the dist list.
Fixes colon7.test.
(initialize_per_input) [dist_dirs]: New variable.
(handle_dist_worker): Use global dist_dirs.
(handle_configure): Set dist_dirs entries at toplevel.
Tom Tromey [Sun, 4 Feb 2001 03:18:01 +0000 (03:18 +0000)]
* Makefile.am (XFAIL_TESTS): Removed colon7.test.
Tom Tromey [Sat, 3 Feb 2001 05:56:41 +0000 (05:56 +0000)]
* automake.texi (Java Support): Added index, @section.
Pavel Roskin [Fri, 2 Feb 2001 15:10:13 +0000 (15:10 +0000)]
* automake.in (scan_autoconf_traces): Restore trace messages.
Pavel Roskin [Fri, 2 Feb 2001 12:33:19 +0000 (12:33 +0000)]
* automake.in (handle_aclocal_m4): Fix stripping of the initial
"./" from the dependencies of aclocal.m4.
Reported by Ralf Corsepius.
Pavel Roskin [Thu, 1 Feb 2001 23:53:33 +0000 (23:53 +0000)]
* aclocal.in: Rename "verbosity" to "verbose". Always prepend
"aclocal: " to the verbose output.
Pavel Roskin [Thu, 1 Feb 2001 22:51:40 +0000 (22:51 +0000)]
* automake.in: Remove all debugging messages.
Akim Demaille [Wed, 31 Jan 2001 17:47:54 +0000 (17:47 +0000)]
* automake.in (add_depend2): Quote properly $obj and $source.
Akim Demaille [Wed, 31 Jan 2001 16:50:02 +0000 (16:50 +0000)]
* depend2.am: Instead of replacing @PFX@ in $(@PFX@COMPILE), and
then replacing `$(@PFX@COMPILE)' for the files that need some
special flags, use only @COMPILE@. Similarly for @LTCOMPILE@.
Try to document this file.
* automake.in (add_depend2): Adjust to these changes.
Akim Demaille [Wed, 31 Jan 2001 14:36:21 +0000 (14:36 +0000)]
* automake.in (%factored_dependencies): New.
(file_contents): Use it.
(handle_phony): Rename as...
(handle_factored_dependencies): this.
* subdirs.am: No need for convolved syntax to declare .PHONY.
Akim Demaille [Wed, 31 Jan 2001 14:23:21 +0000 (14:23 +0000)]
* automake.in: maintainer-check fixes.
Akim Demaille [Wed, 31 Jan 2001 14:16:17 +0000 (14:16 +0000)]
* automake.in (file_contents): Rewrite: instead of trying to parse
it line by line, first swallow it completely into $CONTENTS,
*then*, parse it *paragraph* by paragraph.
Akim Demaille [Wed, 31 Jan 2001 13:39:22 +0000 (13:39 +0000)]
* automake.in (file_contents): Remove.
(file_contents_with_transform): Swap the order of the arguments,
and rename as...
(file_contents): this.
Adjust all uses.
Tom Tromey [Wed, 31 Jan 2001 04:05:43 +0000 (04:05 +0000)]
removed a couple spurious newlines
Tom Tromey [Wed, 31 Jan 2001 04:00:45 +0000 (04:00 +0000)]
* automake.in (scan_one_autoconf_file): Don't mention
omit_dependencies.
Akim Demaille [Mon, 29 Jan 2001 17:37:22 +0000 (17:37 +0000)]
* automake.in (&scan_autoconf_config_files): Extract from
&scan_one_autoconf_file.
(&scan_one_autoconf_file): Use it.
(&scan_autoconf_traces): New.
($scan_autoconf_files): Use it.
Akim Demaille [Mon, 29 Jan 2001 17:36:44 +0000 (17:36 +0000)]
* texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a
.PHONY target.
* automake.in (handle_texinfo, handle_man_pages, handle_multilib)
(handle_etags, handle_subdirs): Don't push into @phony.
Akim Demaille [Mon, 29 Jan 2001 12:01:43 +0000 (12:01 +0000)]
* automake.in (scan_one_autoconf_file): Correctly recognize
configure.ac.
Akim Demaille [Mon, 29 Jan 2001 12:00:56 +0000 (12:00 +0000)]
* automake.in (handle_tests_dejagnu): New, extracted from...
(handle_tests): here. Use `.PHONY:'.
Akim Demaille [Mon, 29 Jan 2001 09:41:43 +0000 (09:41 +0000)]
* automake.in (handle_phony): Sort.
(file_contents_with_transform): Catch `.PHONY:'.
(handle_tests): Instead dumping the hard coded target check-TESTS
and registering its .PHONYsm, get them from...
* check.am: here, new file.
Akim Demaille [Mon, 29 Jan 2001 09:30:02 +0000 (09:30 +0000)]
* automake.in (add_depend2): Use &transform.
Akim Demaille [Mon, 29 Jan 2001 09:27:18 +0000 (09:27 +0000)]
* automake.in (handle_tags): Use &transform.
(am_error, am_line_error, am_conf_error, read_am_file): Use
directly arrays in strings, no need for &join.
Require Perl 5.
* Makefile.am (maintainer-check): Use grep -w when looking for
words.
Akim Demaille [Mon, 29 Jan 2001 09:17:29 +0000 (09:17 +0000)]
* automake.in (prog_error): New.
Spread its use.
Akim Demaille [Mon, 29 Jan 2001 09:16:35 +0000 (09:16 +0000)]
* automake.in (handle_single_transform_list): if (@list) { foreach
(@list) ...} can be written as a simple `foreach' loop.