]> git.donarmstrong.com Git - lilypond.git/commitdiff
update-with-convert-ly.sh: improve exclusion patterns for find
authorDavid Kastrup <dak@gnu.org>
Fri, 18 Nov 2011 17:25:27 +0000 (18:25 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 18 Nov 2011 22:11:49 +0000 (23:11 +0100)
scripts/auxiliar/update-with-convert-ly.sh

index fd8aae4bae826f2aaff088a5ae58d3425aa17d12..b5afdfd6393706ae63d154ded570d2dcc696ca6c 100755 (executable)
@@ -21,11 +21,11 @@ cd $TOP_SRC_DIR
 
 ### update manuals
 find Documentation/ -path 'Documentation/snippets' -prune -o -name out -prune \
-  -o -name out-www -prune -o -name '*.itely' -print \
+  -o -name 'out-*' -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 out -prune -o -name out-www -prune \
+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