From: James Lowe Date: Tue, 17 Aug 2010 06:12:36 +0000 (+0100) Subject: Doc: Usage.itely - more script line breaks X-Git-Tag: release/2.13.31-1~51 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5a2996440dc06fa89915596dfb4a269f764002e3;p=lilypond.git Doc: Usage.itely - more script line breaks Second script example edited to avoid running off edge of PDF Split script using trailing backslash Also edited comment within script as it too was running of edge of PDF --- diff --git a/Documentation/usage/running.itely b/Documentation/usage/running.itely index f661d89201..afcf0387d2 100644 --- a/Documentation/usage/running.itely +++ b/Documentation/usage/running.itely @@ -551,15 +551,21 @@ cp -L /usr/bin/convert /usr/bin/gs usr/bin cp -L /usr/share/fonts/truetype usr/share/fonts # Now the library copying magic -for i in "$lilydir/usr/bin/lilypond" "$lilydir/usr/bin/guile" "/bin/sh" "/bin/rm" "/usr/bin/gs" "/usr/bin/convert"; do ldd $i | sed 's/.*=> \/\(.*\/\)\([^(]*\).*/mkdir -p \1 \&\& cp -L \/\1\2 \1\2/' | sed 's/\t\/\(.*\/\)\(.*\) (.*)$/mkdir -p \1 \&\& cp -L \/\1\2 \1\2/' | sed '/.*=>.*/d'; done | sh -s +for i in "$lilydir/usr/bin/lilypond" "$lilydir/usr/bin/guile" "/bin/sh" \ + "/bin/rm" "/usr/bin/gs" "/usr/bin/convert"; do ldd $i | sed 's/.*=> \ + \/\(.*\/\)\([^(]*\).*/mkdir -p \1 \&\& cp -L \/\1\2 \1\2/' | sed \ + 's/\t\/\(.*\/\)\(.*\) (.*)$/mkdir -p \1 \&\& cp -L \/\1\2 \1\2/' \ + | sed '/.*=>.*/d'; done | sh -s # The shared files for ghostscript... cp -L -r /usr/share/ghostscript usr/share # The shared files for ImageMagick cp -L -r /usr/lib/ImageMagick* usr/lib -### Now, assuming that you have test.ly in /mnt/lilyloop/lilyhome, you should be able to run: -### Note that /$lilyprefix/bin/lilypond is a script, which sets the LD_LIBRARY_PATH - this is crucial +### Now, assuming that you have test.ly in /mnt/lilyloop/lilyhome, +### you should be able to run: +### Note that /$lilyprefix/bin/lilypond is a script, which sets the +### LD_LIBRARY_PATH - this is crucial /$lilyprefix/bin/lilypond -jlily,lily,/mnt/lilyloop,/lilyhome test.ly @end example