]> git.lyx.org Git - features.git/blob - lib/build-listerrors
a7d3cea18475bc733caa178f3cb4b13425db35fb
[features.git] / lib / build-listerrors
1 #!/bin/sh
2 #
3 # Attempt to build listerrors (see examples/Literate.lyx) at build-time
4 #
5 # Author: Kayvan Sylvan <kayvan@sylvan.com>
6 #
7 # Assume notangle is on the path
8
9 if [ -r ../src/lyx ]
10 then
11     lyx=../src/lyx
12 else
13     # Assumed to be on the path
14     lyx=lyx 
15 fi
16
17 $lyx --export tex examples/Literate.lyx
18 mv examples/Literate.tex Literate.nw
19 notangle -Rbuild-script Literate.nw | sh