From: Graham Percival Date: Sun, 7 Jan 2007 19:47:23 +0000 (-0800) Subject: Update instructions for OSX command-line use. X-Git-Tag: release/2.11.10-1~12^2~2^2 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=8f747ff7c500616fdb45079fdad47fc6325ce6e3;p=lilypond.git Update instructions for OSX command-line use. --- diff --git a/Documentation/user/running.itely b/Documentation/user/running.itely index f4cbfdd326..d1a95e8e0c 100644 --- a/Documentation/user/running.itely +++ b/Documentation/user/running.itely @@ -363,11 +363,36 @@ invoking them directly, e.g. The same is true of the other scripts in that directory, including lilypond-book, convert-ly, abc2ly, etc. -Alternatively, you may add this directory to your path. Modify (or create) +Alternatively, you may create scripts which add the path +automatically. Create a directory to store these scripts, + +@example +mkdir -p ~/bin +cd ~/bin +@end example + +Create a file called @code{lilypond} which contains + +@example +exec @var{path/to}/LilyPond.app/Contents/Resources/bin/lilypond "$@" +@end example + +Create similar files @code{lilypond-book}, @code{convert-ly}, and +any other helper programs you use (@code{abc2ly}, @code{midi2ly}, +etc). Simply replace the @code{bin/lilypond} with +@code{bin/convert-ly} (or other program name) in the above file. + +Make the file executable, + +@example +chmod u+x lilypond +@end example + +Now, add this directory to your path. Modify (or create) a file called @code{.profile} in your home directory such that it contains @example -export PATH=$PATH:@var{path/to}/LilyPond.app/Contents/Resources/bin +export PATH=$PATH:~/bin @end example @noindent