|
[Rivet-svn] r2612 - trunkblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Jul 26 22:59:29 BST 2010
Author: buckley Date: Mon Jul 26 22:59:29 2010 New Revision: 2612 Log: Adding the TEXMFHOME and HOMETEXMF variables to the generated rivetenv.(c)sh scripts Modified: trunk/rivetenv.csh.in trunk/rivetenv.sh.in Modified: trunk/rivetenv.csh.in ============================================================================== --- trunk/rivetenv.csh.in Mon Jul 26 22:09:51 2010 (r2611) +++ trunk/rivetenv.csh.in Mon Jul 26 22:59:29 2010 (r2612) @@ -4,8 +4,21 @@ setenv PATH "$exec_prefix/bin:$PATH" setenv LD_LIBRARY_PATH "@libdir@:@HEPMCLIBPATH@:@FASTJETLIBPATH@:@GSLLIBPATH@:$LD_LIBRARY_PATH" + if ($?PYTHONPATH) then setenv PYTHONPATH "@RIVET_PYTHONPATH@:$PYTHONPATH" else setenv PYTHONPATH "@RIVET_PYTHONPATH@" endif + +if ($?TEXMFHOME) then +setenv TEXMFHOME "@datadir@/Rivet/texmf:$TEXMFHOME" +else +setenv TEXMFHOME "@datadir@/Rivet/texmf" +endif + +if ($?HOMETEXMF) then +setenv HOMETEXMF "@datadir@/Rivet/texmf:$HOMETEXMF" +else +setenv HOMETEXMF "@datadir@/Rivet/texmf" +endif Modified: trunk/rivetenv.sh.in ============================================================================== --- trunk/rivetenv.sh.in Mon Jul 26 22:09:51 2010 (r2611) +++ trunk/rivetenv.sh.in Mon Jul 26 22:59:29 2010 (r2612) @@ -5,3 +5,5 @@ export PATH="$exec_prefix/bin:$PATH" export LD_LIBRARY_PATH="@libdir@:@HEPMCLIBPATH@:@FASTJETLIBPATH@:@GSLLIBPATH@:$LD_LIBRARY_PATH" export PYTHONPATH="@RIVET_PYTHONPATH@:$PYTHONPATH" +export TEXMFHOME="@datadir@/Rivet/texmf:$TEXMFHOME" +export HOMETEXMF="@datadir@/Rivet/texmf:$HOMETEXMF"
More information about the Rivet-svn mailing list |