- # Use the vncserver to make a silent export
- if [ -r $HOME/.vnc/passwd ]
- then
- had_vnc_passwd=1
- else
- mkdir $HOME/.vnc > /dev/null 2>&1
- had_vnc_passwd=0
- touch $HOME/.vnc/passwd; chmod 700 $HOME/.vnc/passwd
- fi
- $vncserver :10 -depth 16
- DISPLAY=:10
- export DISPLAY
- $lyx --export tex examples/Literate.lyx
- $vncserver -kill :10
- if [ $had_vnc_passwd -eq 0 ]
- then
- rm $HOME/.vnc/passwd
- fi
+ # 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."