[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: ./configure or ./config.status --clean
From: |
Akim Demaille |
Subject: |
Re: RFC: ./configure or ./config.status --clean |
Date: |
04 Apr 2002 12:37:04 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
| > 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.
Because I fail to see the advantage for Automake to have to clean
itself, rather than asking the cleaning. That's better to my eyes,
also because a list of files might not always be the right thing to
do. Keeping it under *program* control will make it work in all
cases.
And anyway, modularity mandates this design.
- Re: RFC: ./configure or ./config.status --clean, (continued)
- 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, 2002/04/03
- Re: RFC: ./configure or ./config.status --clean,
Akim Demaille <=
- 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
Re: RFC: ./configure or ./config.status --clean, Akim Demaille, 2002/04/03