<<< Date Index >>>     <<< Thread Index >>>

[PATCH] renaming prepare to autogen.sh ?



Dear all,

What do you think about renaming the prepare script that comes with
mutt's CVS sources to autogen.sh ?

This seems a more standard (and hence more easy to find out) name for this
script, IMHO.
Moreover, mentions to this name can be found in the "GNU Autoconf,
Automake and Libtool Book", which makes me think that this idea is not
totally crazy.

In case you like the idea, below is a patch that replaces all the
references to the prepare script found in the sources by references to
autogen.sh.

Cheers,
Sébastien.

diff -ur ../cvs/INSTALL ./INSTALL
--- ../cvs/INSTALL      2002-11-25 15:16:46.000000000 +0100
+++ ./INSTALL   2005-06-27 20:52:08.378280016 +0200
@@ -49,7 +49,7 @@
 Installing Mutt is rather painless through the use of the GNU
 autoconf package.  Simply untar the Mutt distribution, and run the
 ``configure'' script.  If you have obtained the distribution from
-the CVS repository, run the ``prepare'' script with the same command
+the CVS repository, run the ``autogen.sh'' script with the same command
 line parameters you would pass to configure.  It will set up mutt's
 build environment and add the files which are present in the tar
 balls, but not in the CVS repository.
diff -ur ../cvs/Makefile.am ./Makefile.am
--- ../cvs/Makefile.am  2005-03-22 20:58:15.000000000 +0100
+++ ./Makefile.am       2005-06-27 20:53:12.468536816 +0200
@@ -73,7 +73,7 @@
        mailbox.h mapping.h md5.h mime.h mutt.h mutt_curses.h mutt_menu.h \
        mutt_regex.h mutt_sasl.h mutt_socket.h mutt_ssl.h mutt_tunnel.h \
        mx.h pager.h pgp.h pop.h protos.h reldate.h rfc1524.h rfc2047.h \
-       rfc2231.h rfc822.h sha1.h sort.h mime.types VERSION prepare \
+       rfc2231.h rfc822.h sha1.h sort.h mime.types VERSION autogen.sh \
        _regex.h OPS.MIX README.SECURITY remailer.c remailer.h browser.h \
        mbyte.h lib.h extlib.c pgpewrap.c smime_keys.pl pgplib.h Muttrc.head 
Muttrc \
        makedoc.c stamp-doc-rc README.SSL smime.h\
diff -ur ../cvs/doc/devel-notes.txt ./doc/devel-notes.txt
--- ../cvs/doc/devel-notes.txt  2005-06-22 03:46:49.000000000 +0200
+++ ./doc/devel-notes.txt       2005-06-27 21:00:32.306671256 +0200
@@ -61,7 +61,7 @@
 ------------------------
 
 Once you've checked out a copy of the source from CVS, you'll need to
-run the script called 'prepare' that is in the root directory.  The
+run the script called 'autogen.sh' that is in the root directory.  The
 script does all the automake/autoconf magic that needs to be done with
 a fresh checkout.