build-sys: bootstrap.sh: Do a make only if configure has succeeded
authorAhmed S. Darwish <darwish.07@gmail.com>
Fri, 18 Sep 2015 23:59:02 +0000 (01:59 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Fri, 25 Sep 2015 12:05:43 +0000 (15:05 +0300)
Otherwise the important configure script error messages get buried
by the "make clean" output.

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
bootstrap.sh

index c9a083c..187abaa 100755 (executable)
@@ -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