diff --git a/autogen.sh b/autogen.sh index a00eebe085..b03318f9a6 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"'