]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/windows/zlily-profile.sh
* Documentation/windows/zlily-profile.sh:
[lilypond.git] / Documentation / windows / zlily-profile.sh
1 #!@SHELL@
2 # /etc/profile.d/zlily-profile.sh  -- profile additions for Windows
3 # runs after lilypond-profile.sh
4
5 # maybe we should do this once (postinstall) and dump result for
6 # this login script
7 POSIX_GS_LIB="$(cygpath -apu ""$GS_LIB"")"
8 WINDOWS_GS_LIB="$(cygpath -apw ""$POSIX_GS_LIB"")"
9
10 POSIX_GS_FONTPATH="$(cygpath -apu ""$GS_FONTPATH"")"
11 WINDOWS_GS_FONTPATH="$(cygpath -apw ""$POSIX_GS_FONTPATH"")"
12
13 POSIX_TEXINPUTS="$(cygpath -apu ""$TEXINPUTS"")"
14 WINDOWS_TEXINPUTS="$(cygpath -apw ""$POSIX_TEXINPUTS"")"
15
16 POSIX_TFMFONTS="$(cygpath -apu ""$TFMFONTS"")"
17 WINDOWS_TFMFONTS="$(cygpath -apw ""$POSIX_TFMFONTS"")"
18
19 POSIX_MFINPUTS="$(cygpath -apu ""$MFINPUTS"")"
20 WINDOWS_MFINPUTS="$(cygpath -apw ""$POSIX_MFINPUTS"")"
21
22 export POSIX_TEXINPUTS POSIX_TFMFONTS POSIX_TFMFONTS
23 export WINDOWS_TEXINPUTS WINDOWS_TFMFONTS WINDOWS_MFINPUTS
24
25 GS_FONTPATH="$WINDOWS_GS_FONTPATH"
26 GS_LIB="$WINDOWS_GS_LIB"
27
28 # needed for prefix=lilypond-x.y.z 
29 # PATH="/usr/lilypond/bin:$PATH"
30 # PATH="@prefix@/bin:$PATH"
31
32 cat <<EOF
33 Congratulations and welcome to GNU LilyPond.
34
35 To get started, visit:
36     http://www.lilypond.org/Documentation/windows/out-www/installing.html
37
38 If you encounter any problems, visit:
39     http://www.lilypond.org/wiki?TroubleshootingWindows
40
41 When it all works, head straight to the tutorial:
42     http://www.lilypond.org/Documentation/user/out-www/lilypond/Tutorial.html
43     
44 EOF