2 #development/keystest/lyx_make.sh [--update]
3 #This script runs LyX (and possibly updates), starts spamming it with hundreds of
4 #keypresses, and logs all output, including backtraces to development/keystest/out/GDB .
5 #Use report.sh to generated the more useful bug reports in development/keystest/out/{or}*
7 LT=development/keystest
10 echo lyx_make.sh is supposed to be in the root of the lyx svn tree, eg. development/keystest/lyx_make.sh.
14 if which wmctrl xvkbd bash xterm python xclip
17 if [ a"$1" == a--update ]; then
19 ./autogen.sh && ./configure --enable-debug -- && nice -18 make &&
20 if [ ! a"$2" == a"0" ]
25 DBG=`src/lyx --version 2>&1 | grep C++.Compiler.flags|grep -- -g`;
26 if [ -z "$DBG" ]; then echo Wrong build of LyX binary. ; exit; fi
32 echo NEEDS the following packages:
33 echo wmctrl xvkbd bash xterm python xclip