[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: ./configure or ./config.status --clean
From: |
Roger Leigh |
Subject: |
Re: RFC: ./configure or ./config.status --clean |
Date: |
Wed, 3 Apr 2002 19:18:58 +0100 |
User-agent: |
Mutt/1.3.27i |
On Wed, Apr 03, 2002 at 07:04:07PM +0200, Akim Demaille wrote:
>
> | Akim Demaille writes:
> | > What I'm doing now is buying my freedom. The freedom to extend
> | > Autoconf without 1. requiring from the rest of the world that they
> | > adjust their distclean rules, 2. requiring that Automake folks release
> | > a newer Automake etc., not to mention that it needs 1. writing
> | > documentation, 2. telling the people to read it.
> |
> | All of these are good goals, but there are at least three other ways to
> | achieve them:
> |
> | 1. _AC_EXTRA_CLEAN_FILES([configure.lineno autom4te.cache])
> |
> | To be traced by automake.
>
> So you are throwing away the non Automake users, and you lose the
> ability to run ./configure --clean without Makefile (precisely after a
> distclean).
Why can't you do this:
%% AC_CONFIG_DISTCLEANFILES(FILES)
%% Clean FILES
AC_DEFUN([AC_CONFIG_DISTCLEANFILES],
[ac_distcleanfiles="$ac_distcleanfiles $1"
AC_SUBST(ac_distcleanfiles)
])
You need to add support to automake to add ac_distcleanfiles to the
distclean target, but after that any macro can register files to be
cleaned. You can also do the cleaning (optionally) in config.status,
and in your own Makefile.ins--you won't be tied to automake.
An additional macro for ac_maintainercleanfiles would be nice. A
similar method could be used to tell automake what files to distribute,
such as configure, configure.ac, config.h.in etc. that automake
currently hard-codes.
--
Roger Leigh
** Registration Number: 151826, http://counter.li.org **
Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848 available on public keyservers
- Re: RFC: ./configure or ./config.status --clean, (continued)
- Re: RFC: ./configure or ./config.status --clean, Roger Leigh, 2002/04/02
- Re: RFC: ./configure or ./config.status --clean, Paul Eggert, 2002/04/02
- Re: RFC: ./configure or ./config.status --clean, Eric Siegerman, 2002/04/02
- Re: RFC: ./configure or ./config.status --clean, Peter Eisentraut, 2002/04/02
- Re: RFC: ./configure or ./config.status --clean, Akim Demaille, 2002/04/03
- Re: RFC: ./configure or ./config.status --clean, Peter Eisentraut, 2002/04/03
- Re: RFC: ./configure or ./config.status --clean, Akim Demaille, 2002/04/03
- Re: RFC: ./configure or ./config.status --clean,
Roger Leigh <=
- Re: RFC: ./configure or ./config.status --clean, Akim Demaille, 2002/04/04
- Re: RFC: ./configure or ./config.status --clean, Peter Eisentraut, 2002/04/04
- Re: RFC: ./configure or ./config.status --clean, Akim Demaille, 2002/04/04
- Re: RFC: ./configure or ./config.status --clean, Guido Draheim, 2002/04/04
Re: RFC: ./configure or ./config.status --clean, Russ Allbery, 2002/04/02
Re: RFC: ./configure or ./config.status --clean, Akim Demaille, 2002/04/02