]> git.donarmstrong.com Git - lilypond.git/commitdiff
scripts/auxiliar/update-with-convert-ly.sh: let update rules skip out and out-www...
authorDavid Kastrup <dak@gnu.org>
Mon, 7 Nov 2011 19:05:42 +0000 (20:05 +0100)
committerDavid Kastrup <dak@gnu.org>
Mon, 7 Nov 2011 19:05:42 +0000 (20:05 +0100)
scripts/auxiliar/update-with-convert-ly.sh

index 9bb48614d728816cab105f5595855d2df9b5036e..fd8aae4bae826f2aaff088a5ae58d3425aa17d12 100755 (executable)
@@ -20,10 +20,12 @@ make
 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-www -prune -o -name '*.itely' -print \
+  | xargs $BUILD_DIR/out/bin/convert-ly -e -d
 
 ### update .ly files
 # don't look in . otherwise it'll find stuff in build/ !
-find Documentation/ input/ ly/ \
-  -name '*.ly' | xargs $BUILD_DIR/out/bin/convert-ly -e -d
+find Documentation/ input/ ly/ -name out -prune -o -name out-www -prune \
+  -o \( -name '*.ly' -o -name '*.ily' \) -print \
+  | xargs $BUILD_DIR/out/bin/convert-ly -e -d