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 $BUILD_DIR ]; then
15 ### make sure convert-ly is up-to-date
16 touch python/convertrules.py
17 touch scripts/convert-ly.py
23 find Documentation/ -path 'Documentation/snippets' -prune -o -name out -prune \
24 -o -name 'out-*' -prune -o -name '*.itely' -print \
25 | xargs $BUILD_DIR/out/bin/convert-ly -e -d
28 # don't look in . otherwise it'll find stuff in build/ !
29 find Documentation/ input/ ly/ -name out -prune -o -name 'out-*' -prune \
30 -o \( -name '*.ly' -o -name '*.ily' \) -print \
31 | xargs $BUILD_DIR/out/bin/convert-ly -e -d