3 ### are we in the top source dir?
4 if [ ! -e scripts/convert-ly.py ]; then
5 echo "Must run from top source directory"
9 ### get the directories
11 if [ -z $LILYPOND_BUILD_DIR ]; then
15 ### make sure convert-ly is up-to-date
16 cd $LILYPOND_BUILD_DIR
21 find Documentation/ -path 'Documentation/snippets' -prune -o -name out -prune \
22 -o -name 'out-*' -prune -o -name '*.itely' -print \
23 | xargs $LILYPOND_BUILD_DIR/out/bin/convert-ly -e -d "$@"
26 # don't look in . otherwise it'll find stuff in build/ !
27 find Documentation/ input/ ly/ -name out -prune -o -name 'out-*' -prune \
28 -o \( -name '*.ly' -o -name '*.ily' \) -print \
29 | xargs $LILYPOND_BUILD_DIR/out/bin/convert-ly -e -d "$@"