Add a `--clean' option for autoconf, autoheader, autoreconf and autom4te.mybootclean
commit8475204ea4094c864a40216a93f176a817906744
authorBenoit Sigoure <tsuna@lrde.epita.fr>
Sun, 11 Nov 2007 22:27:46 +0000 (11 23:27 +0100)
committerBenoit Sigoure <tsuna@lrde.epita.fr>
Sun, 11 Nov 2007 22:33:42 +0000 (11 23:33 +0100)
tree38e82952e57c66621909b8a0eedf88c9bc43e3d0
parent00865ec8426eed430d9a36c906d6ce7d307f8cf1
Add a `--clean' option for autoconf, autoheader, autoreconf and autom4te.

* bin/autoconf.as, bin/autoheader.in, bin/autoreconf.in,
        bin/autom4te.in: New option `--clean'.
* NEWS: Mention it.
* bin/autoreconf.in (&run_make): New.
(&autoreconf_current_directory): Use it.  Honor the $clean variable.
* lib/Autom4te/General.pm ($clean): New boolean value.
(getopt): Handle `--clean'.
* lib/Autom4te/FileUtils.pm ($SIMPLE_BACKUP_SUFFIX): Export it.
* tests/torture.at: Test the new feature.
* doc/autoconf.texi (autoconf Invocation, autoreconf Invocation,
autoheader Invocation, autom4te Invocation): Document the new option.

Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
ChangeLog
NEWS
bin/autoconf.as
bin/autoheader.in
bin/autom4te.in
bin/autoreconf.in
doc/autoconf.texi
lib/Autom4te/FileUtils.pm
lib/Autom4te/General.pm
tests/torture.at