X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fbuild-listerrors;h=9776b028d31d705cf3719e2a63428e4a6a08bd08;hb=449d74d01b2b91e7b146095592ace94fcf631b13;hp=366600447dbc969b1b9a72e8aa74475a1b8f5961;hpb=2c80c7bdd18297db73e9715f6647c7c10ff06c75;p=lyx.git diff --git a/lib/build-listerrors b/lib/build-listerrors index 366600447d..9776b028d3 100755 --- a/lib/build-listerrors +++ b/lib/build-listerrors @@ -18,10 +18,16 @@ then lyx=../src/lyx else # Assumed to be on the path - lyx=lyx + lyx=lyx fi -$lyx --export nw $dir/examples/Literate.lyx +if [ -z "`grep literate-article textclass.lst`" ] +then + touch listerrors + exit 0 +fi + +$lyx --export literate $dir/examples/Literate.lyx # if no literate support stuff is installed nothing will be output if [ -f $dir/examples/Literate.nw ] then @@ -31,6 +37,9 @@ else # you don't have noweb installed so we'll produce a dummy file # just so make doesn't keep trying to output it. touch listerrors + # tell the user nothing bad happened + echo + echo "LyX did not detect NoWeb support. Proceeding normally." fi exit 0