On Mon, Sep 10, 2012 at 5:01 PM, Jean-Marc Lasgouttes
<lasgout...@lyx.org> wrote:
> Le 10/09/12 17:14, Stephan Witt a écrit :
>
>> With TAB instead of 8 spaces it works :)
>
>
> Is it better now?

Should autogen.sh abort if the make doesn't succeed?

Attached is a patch.

Scott
diff --git a/autogen.sh b/autogen.sh
index a00eebe..b03318f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -85,7 +85,10 @@ else
 fi
 
 echo "Building po/POTFILES.in..."
-make -s -f po/Rules-lyx srcdir=po top_srcdir=. po/POTFILES.in
+if (! make -s -f po/Rules-lyx srcdir=po top_srcdir=. po/POTFILES.in ); then
+       echo "Building po/POTFILES.in failed -- aborting"
+       exit 1
+fi
 
 echo
 echo 'run "./configure && make"'

Reply via email to