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

Re: [PATCH] revise ./prepare



Applied, thanks.

On Wednesday, 19 July 2006 at 15:52, Matthias Andree wrote:
> Greetings,
> 
> the attached patch removes cruft from ./prepare.
> 
> 1. The -dev argument is no longer supported nor needed, the dependency
>    tracking code will always be enabled.
> 
> 2. We use autoreconf -i now (which runs the same commands as before,
>    adds missing files and also runs autopoint (this is gettext stuff) if
>    needed).
> 

Content-Description: modernize prepare and drop -dev cruft
> Index: prepare
> ===================================================================
> RCS file: /home/roessler/cvs/mutt/prepare,v
> retrieving revision 3.2
> diff -u -r3.2 prepare
> +++ prepare   19 Jul 2006 13:50:18 -0000
> @@ -1,18 +1,11 @@
> -#!/bin/sh --
> +#!/bin/sh
>  
> -if test x"$1" = x"-dev" ; then
> -  include_deps=
> -  shift
> -else
> -  include_deps="-i"
> -fi
> -
> -if aclocal -I m4 && autoheader \
> -  && automake $include_deps && autoconf && ./configure "$@"
> +if autoreconf --install --include=m4 \
> +  && ./configure "$@"
>  then
>    echo
> -  echo "The mutt source code was successfully prepared."
> -  echo "Type make && make install to build and install mutt."
> +  echo "The mutt source code was successfully prepared and configured."
> +  echo "Type   make && make install   to build and install mutt."
>    echo
>  else
>    echo



Attachment: pgpxaqRzj4uic.pgp
Description: PGP signature