lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

issue 4491: replace BUILD_DIR with LILYPOND_BUILD_DIR (issue 258730043 b


From: fedelogy
Subject: issue 4491: replace BUILD_DIR with LILYPOND_BUILD_DIR (issue 258730043 by address@hidden)
Date: Sat, 11 Jul 2015 13:57:48 +0000

Reviewers: ,

Description:
issue 4491: replace BUILD_DIR with LILYPOND_BUILD_DIR

Please review this at https://codereview.appspot.com/258730043/

Affected files (+6, -6 lines):
  M Documentation/contributor/programming-work.itexi
  M scripts/auxiliar/update-with-convert-ly.sh


Index: Documentation/contributor/programming-work.itexi
diff --git a/Documentation/contributor/programming-work.itexi b/Documentation/contributor/programming-work.itexi index f14057e60c5e58457ee965adafd82bdffdf88c60..99dc79da4a9c6a274aa30ca8e52c68c94ccdc3f2 100644
--- a/Documentation/contributor/programming-work.itexi
+++ b/Documentation/contributor/programming-work.itexi
@@ -1375,7 +1375,7 @@ scripts/auxiliar/update-with-convert-ly.sh
 If you did an out-of-tree build, pass in the relative path:

 @example
-BUILD_DIR=../build-lilypond/ scripts/auxiliar/update-with-convert-ly.sh
+LILYPOND_BUILD_DIR=../build-lilypond/ scripts/auxiliar/update-with-convert-ly.sh
 @end example


Index: scripts/auxiliar/update-with-convert-ly.sh
diff --git a/scripts/auxiliar/update-with-convert-ly.sh b/scripts/auxiliar/update-with-convert-ly.sh index 978fab4f5520a2546a0227ad72aeb3cc8afdc255..6092d83350207c1a89f34c69a5ea17a69b5f805c 100755
--- a/scripts/auxiliar/update-with-convert-ly.sh
+++ b/scripts/auxiliar/update-with-convert-ly.sh
@@ -8,22 +8,22 @@ fi

 ### get the directories
 TOP_SRC_DIR=`pwd`
-if [ -z $BUILD_DIR ]; then
-  BUILD_DIR=.
+if [ -z $LILYPOND_BUILD_DIR ]; then
+  LILYPOND_BUILD_DIR=.
 fi

 ### make sure convert-ly is up-to-date
-cd $BUILD_DIR
+cd $LILYPOND_BUILD_DIR
 make python-modules
 cd $TOP_SRC_DIR

 ### update manuals
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 "$@"
+  | xargs $LILYPOND_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-*' -prune \
   -o \( -name '*.ly' -o -name '*.ily' \) -print \
-  | xargs $BUILD_DIR/out/bin/convert-ly -e -d "$@"
+  | xargs $LILYPOND_BUILD_DIR/out/bin/convert-ly -e -d "$@"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]