Abort autogen.sh if po/POTFILES.in fails

This commit is contained in:
Scott Kostyshak 2012-09-11 04:12:05 -04:00
parent 4c1d45aac9
commit 6f58137318

View File

@ -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"'