|
8a34b58d
|
2001-02-06T09:09:36
|
|
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.
|
|
4ea6c12e
|
2001-01-16T11:15:21
|
|
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.
|
|
9a65b8d6
|
2000-12-21T06:07:14
|
|
2000-12-20 Marc Espie <espie@openbsd.org>
* automake.in (handle_texinfo): Make path of $vtexi explicit in
dependency.
* texi-vers.am: Likewise.
|
|
a2c34841
|
2000-10-16T09:01:36
|
|
* aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
* automake.in, automake.texi: Likewise.
* clean-kr.am, clean.am: Likewise.
* comp-vars.am: Likewise.
* compile, compile.am: Likewise.
* data-clean.am: Likewise.
* data.am: Likewise.
* dejagnu.am: Likewise.
* depcomp: Likewise.
* depend.am, depend2.am: Likewise.
* dist-vars.am, dist.am: Likewise.
* elisp-comp: Likewise.
* footer.am: Likewise.
* header-vars.am, header.am: Likewise.
* java-clean.am java.am: Likewise.
* kr-extra.am: Likewise.
* library.am: Likewise.
* libs-clean.am, libs.am: Likewise.
* libtool.am: Likewise.
* lisp-clean.am lisp.am: Likewise.
* ltlib-clean.am ltlib.am: Likewise.
* ltlibrary.am: Likewise.
* m4/Makefile.in: Likewise.
* m4/strtod.m4: Likewise.
* mans-vars.am, mans.am: Likewise.
* mdate-sh: Likewise.
* missing: Likewise.
* multilib.am: Likewise.
* program.am: Likewise.
* progs-clean.am, progs.am: Likewise.
* python-clean.am, python.am: Likewise.
* remake-hdr.am, remake.am: Likewise.
* scripts.am: Likewise.
* subdirs.am: Likewise.
* tags-clean.am, tags.am: Likewise.
* texi-vers.am: Likewise.
* texinfos.am: Likewise.
* ylwrap: Likewise.
|
|
a80b7490
|
2000-06-19T22:30:34
|
|
2000-06-19 Paolo Bonzini <bonzini@gnu.org>
* texi-vers.am: define UPDATED-MONTH variable (for an example, see
GNU make's manual)
|
|
aa861d71
|
1999-01-14T17:54:37
|
|
* texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
From Alexandre Oliva and Erez Zadok.
|
|
f6dbd5be
|
1999-01-10T20:39:29
|
|
* automake.in (handle_texinfo): Set $conf_pat correctly when
config_aux_dir not used.
(handle_texinfo): Run maintainer-clean-aminfo rules in srcdir.
From Erez Zadok.
* texi-vers.am (maintainer-clean-@VTI@): Prefix file names with
$(srcdir). From Erez Zadok.
($(srcdir)/stamp-@VTI@): Don't run mdate-sh from srcdir.
|
|
dee4d56f
|
1998-10-03T18:26:55
|
|
* automake.in (handle_aclocal_m4): Use new MAINTAINER_MODE
conditional.
(handle_configure): Likewise.
(read_am_file): Likewise.
(file_contents_with_transform): Likewise.
(scan_one_configure_file): Recognize that AM_MAINTAINER_MODE
defines a conditional.
* automake.texi (Optional): Document new AM_MAINTAINER_MODE.
* texi-vers.am ($(srcdir)/@VTEXI@): Look at MAINTAINER_MODE
conditional.
(maintainer-clean-@VTI@): Likewise.
* remake.am ($(srcdir)/configure): Look at MAINTAINER_MODE
conditional.
* remake-hdr.am ($(srcdir)/@CONFIG_HEADER_IN@): Look at
MAINTAINER_MODE conditional.
* m4/maintainer.m4 (AM_MAINTAINER_MODE): Defined MAINTAINER_MODE
conditional.
|
|
27b4dd2d
|
1998-09-29T22:48:00
|
|
A couple bug fixes from Andreas Schwab:
* texi-vers.am: Use the correct target names. Fix generation of
stamp file.
* automake.in (handle_tests): In commands generating site.exp copy
the old contents from site.exp, not site.bak, which does not
exist.
|
|
8551a9bd
|
1997-09-25T04:56:27
|
|
bug fix for bsd/ultrix
|
|
0a4d56b7
|
1997-03-28T03:27:50
|
|
fix in texinfo version code
|
|
c4b9c3bf
|
1997-03-28T00:52:18
|
|
silence stamp-creation rules
|
|
fdf4f35e
|
1997-02-25T03:40:20
|
|
bug fix
|
|
3893dee8
|
1997-02-25T03:39:56
|
|
bug fix
|
|
bb28e1c3
|
1997-02-25T03:39:09
|
|
bug fix
|
|
c19b5620
|
1996-10-06T03:55:55
|
|
Many bug fixes
|