new file.
[lilypond.git] / buildscripts / lilypond-login.sh
blob8279c4778d0ce167492557d1b60022f9dabd933c
1 #!/bin/csh
3 # Setup TeX/LaTeX Ghostscript C-shell environment for LilyPond.
4 #
5 # Red Hat-like systems should install this in /etc/profile.d/
7 # If run by hand or from you .login, run as follows
8 # source lilypond-profile
12 # strange shell, this C
13 set datadir="@local_lilypond_datadir@"
15 # setenv LILYPONDPREFIX "$datadir"
16 # bit silly. for ly2dvi, overrules compiled-in datadir...
17 # setenv LILYPONDPREFIX "@local_lilypond_datadir@"
19 # Add the installation directory to the teTeX system tree,
20 # see Documentation/misc/fontinstallation
22 set noglob
23 setenv TEXMF "{$datadir,"`kpsexpand \$TEXMF`"}"
24 unset noglob
28 # if ( $?GS_LIB ) then
29 # setenv GS_LIB "$datadir/ps:$GS_LIB"
30 # else
31 # setenv GS_LIB "$datadir/ps"
32 # endif
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