]> git.lyx.org Git - lyx.git/commitdiff
Abort autogen.sh if po/POTFILES.in fails
authorScott Kostyshak <skostysh@lyx.org>
Tue, 11 Sep 2012 08:12:05 +0000 (04:12 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 11 Sep 2012 08:12:05 +0000 (04:12 -0400)
autogen.sh

index a00eebe085ea552311ad381812fff2995916e0c1..b03318f9a63b3d665302a1eac12dd84ade35906b 100755 (executable)
@@ -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"'