[pulseaudio-discuss] [PATCH] bootstrap.sh: Do a make only if configure has succeeded

Tanu Kaskinen tanuk at iki.fi
Tue Sep 22 01:15:17 PDT 2015


On Sat, 2015-09-19 at 01:59 +0200, Ahmed S. Darwish wrote:
> Otherwise the important configure script error messages get buried
> by the "make clean" output.
> 
> Signed-off-by: Ahmed S. Darwish <darwish.07 at gmail.com>
> ---
>  bootstrap.sh | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/bootstrap.sh b/bootstrap.sh
> index 644d014..adaab46 100755
> --- a/bootstrap.sh
> +++ b/bootstrap.sh
> @@ -50,6 +50,6 @@ autopoint --force
>  AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
>  
>  if test "x$NOCONFIGURE" = "x"; then
> -    CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-force-preopen "$@"
> -    make clean
> +    CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-force-preopen "$@" && \
> +        make clean
>  fi

Thanks! Applied to the "next" branch.

-- 
Tanu


More information about the pulseaudio-discuss mailing list