Akim Demaille [Sun, 4 Feb 2001 14:42:36 +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 03:51:18 +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:00 +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: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.
Akim Demaille [Wed, 31 Jan 2001 16:50:01 +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: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.
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 09:41:41 +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: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 [Fri, 26 Jan 2001 15:07:45 +0000 (15:07 +0000)]
* automake.in (handle_texinfo): Don't use $conf_pat, just
$conf_dir to transform MDDIR since now &transform handles the
escaping of RE special characters by itself.
Akim Demaille [Tue, 16 Jan 2001 11:15:20 +0000 (11:15 +0000)]
Let Automake support `configure.ac'.
* automake.in: In the comments, prefer `configure.ac' to
`configure.in'.
When using &am_conf_error, don't repeat `in configure.in', since
the function already reports it.
When referring to `configure.in' use `$configure_ac' instead.
(configure_ac): New global variable.
(scan_configure, scan_one_configure_file): Rename as...
(scan_autoconf_files, scan_one_autoconf_file): this.
(scan_autoconf_files): Compute $configure_ac.
(transform): New function.
(handle_configure): Use it to transform CONFIGURE_AC in
`remake.am' and in `remake-hdr.am'.
(common_files): Also consider `configure.ac'.
Use consistently single quotes.
* aclocal.in (configure_ac): New variable.
Use it.
* texi-vers.am: Depend on CONFIGURE_AC not configure.in.
* remake.am: Likewise.
* remake-hdr.am: Likewise.
Tom Tromey [Sat, 23 Dec 2000 20:26:10 +0000 (20:26 +0000)]
* subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
distclean and maintainer-clean.
* automake.texi (Top level): Document use of DIST_SUBDIRS.
Tom Tromey [Thu, 21 Dec 2000 02:09:21 +0000 (02:09 +0000)]
From Kevin Ryde:
* automake.in (handle_footer): Always push user suffixes at the
start of .SUFFIXES:.
* automake.texi (Suffixes): Updated to reflect new suffix
handling.
Tom Tromey [Sun, 26 Nov 2000 01:39:48 +0000 (01:39 +0000)]
* automake.in (file_contents_with_transform): Added file name and
line number to error report.
(MACRO_PATTERH, BOGUS_MACRO_PATTERN): Leading spaces are ok.