X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fbuild-listerrors;h=392a9cf31f93a01f8288a98847703927d0c7b474;hb=8b52cd10224640b473ec839c2885574e1f3ac2ef;hp=eeb34d55bd51ed496e14f69bc9f3e162a9f4b8c8;hpb=8aff605caefaba655e48bc629ed344bb74bcd61a;p=lyx.git diff --git a/lib/build-listerrors b/lib/build-listerrors index eeb34d55bd..392a9cf31f 100755 --- a/lib/build-listerrors +++ b/lib/build-listerrors @@ -21,6 +21,12 @@ else lyx=lyx fi +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 ] @@ -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