fi
### make sure convert-ly is up-to-date
-touch python/convertrules.py
-touch scripts/convert-ly.py
cd $BUILD_DIR
-make
+make pythonmodules
cd $TOP_SRC_DIR
### update manuals
-find Documentation/ -path 'Documentation/snippets' -prune \
- -o -name '*.itely' | xargs $BUILD_DIR/out/bin/convert-ly -e -d
+find Documentation/ -path 'Documentation/snippets' -prune -o -name out -prune \
+ -o -name 'out-*' -prune -o -name '*.itely' -print \
+ | xargs $BUILD_DIR/out/bin/convert-ly -e -d
### update .ly files
-find . -name '*.ly' | xargs $BUILD_DIR/out/bin/convert-ly -e -d
+# don't look in . otherwise it'll find stuff in build/ !
+find Documentation/ input/ ly/ -name out -prune -o -name 'out-*' -prune \
+ -o \( -name '*.ly' -o -name '*.ily' \) -print \
+ | xargs $BUILD_DIR/out/bin/convert-ly -e -d