mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 14:30:32 +00:00
793da498a2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1073 a592a061-630c-0410-9148-cb99ea01b6c8
20 lines
381 B
Bash
Executable File
20 lines
381 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 nw examples/Literate.lyx
|
|
mv examples/Literate.nw Literate.nw
|
|
notangle -Rbuild-script Literate.nw | sh
|