]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/windows/zlily-profile.sh
36e5b189a3d5e285584b64b1330848844361b013
[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 PATH="/usr/lilypond/bin:$PATH"
29 PATH="@prefix@/bin:$PATH"
30
31 cat <<EOF
32 Congratulations and welcome to GNU LilyPond.
33
34 To get started, visit:
35     http://www.lilypond.org/Documentation/windows/out-www/installing.html
36
37 If you encounter any problems, visit:
38     http://www.lilypond.org/wiki?TroubleshootingWindows
39
40 When it all works, head straight to the tutorial:
41     http://www.lilypond.org/Documentation/user/out-www/lilypond/Tutorial.html
42     
43 EOF