mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 14:30:32 +00:00
0e86ed5583
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1065 a592a061-630c-0410-9148-cb99ea01b6c8
20 lines
383 B
Bash
Executable File
20 lines
383 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Attempt to build listerrors (see examples/Literate.lyx) at build-time
|
|
#
|
|
# Author: Kayvan Sylvan <kayvan@sylvan.com>
|
|
#
|
|
# Assume notangle is on the path
|
|
|
|
if [ -r ../src/lyx ]
|
|
then
|
|
lyx=../src/lyx
|
|
else
|
|
# Assumed to be on the path
|
|
lyx=lyx
|
|
fi
|
|
|
|
$lyx --export tex examples/Literate.lyx
|
|
mv examples/Literate.tex Literate.nw
|
|
notangle -Rbuild-script Literate.nw | sh
|