3 # Attempt to build listerrors (see examples/Literate.lyx) at build-time
5 # Author: Kayvan Sylvan <kayvan@sylvan.com>
7 # Assume notangle is on the path
20 # Assumed to be on the path
24 $lyx --export literate $dir/examples/Literate.lyx
25 # if no literate support stuff is installed nothing will be output
26 if [ -f $dir/examples/Literate.nw ]
28 mv $dir/examples/Literate.nw Literate.nw
29 which notangle 2>/dev/null && notangle -Rbuild-script Literate.nw | sh
31 # you don't have noweb installed so we'll produce a dummy file
32 # just so make doesn't keep trying to output it.