From af8ed51dfb7743b8b603e88692ab48cf46f25ff8 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sun, 7 Jan 2007 11:47:23 -0800 Subject: [PATCH] Update instructions for OSX command-line use. --- Documentation/user/running.itely | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/Documentation/user/running.itely b/Documentation/user/running.itely index 6ec29f66d6..7ddfdaff1a 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 -- 2.39.5