]> git.donarmstrong.com Git - lilypond.git/blob - buildscripts/lilypond-login.sh
* VERSION (MY_PATCH_LEVEL): make 1.7.0
[lilypond.git] / buildscripts / lilypond-login.sh
1 #!/bin/csh
2
3 # Setup TeX/LaTeX Ghostscript C-shell environment for LilyPond.
4
5 # Red Hat-like systems should install this in /etc/profile.d/
6
7 # If run by hand or from you .login, run as follows
8 #   source lilypond-profile
9
10
11
12 # strange shell, this C
13 set datadir="@local_lilypond_datadir@"
14
15 # setenv LILYPONDPREFIX "$datadir"
16 # bit silly. for ly2dvi, overrules compiled-in datadir...
17 # setenv LILYPONDPREFIX "@local_lilypond_datadir@"
18
19 # Add the installation directory to the teTeX system tree, 
20 # see Documentation/misc/fontinstallation
21
22 set noglob
23 setenv TEXMF "{$datadir,"`kpsexpand  \$TEXMF`"}"
24 unset noglob
25
26
27
28 # if ( $?GS_LIB ) then
29 #       setenv GS_LIB "$datadir/ps:$GS_LIB"
30 # else
31 #       setenv GS_LIB "$datadir/ps"
32 # endif
33
34
35
36 # Add all available TeX Type1 fonts (including Feta) to Ghostscript:
37 #if ( $?GS_FONTPATH ) then
38 #       setenv GS_FONTPATH `kpsewhich -expand-path=\$T1FONTS`:$GS_FONTPATH
39 #else
40 #       setenv GS_FONTPATH `kpsewhich -expand-path=\$T1FONTS`
41 #endif
42
43