Skip to content
Snippets Groups Projects
Commit d43ff5a8 authored by Atlas-Software Librarian's avatar Atlas-Software Librarian Committed by Graeme Stewart
Browse files

grybkine: cmt/requirements: Fix setting TeX-related paths (Rivet-02-01-02-02)

parent b8048ad9
No related branches found
No related tags found
No related merge requests found
package Rivet
author Andy Buckley <andy.buckley@cern.ch>
author James Monk <jmonk@hep.ucl.ac.uk>
use AtlasPolicy AtlasPolicy-*
use LCG_Configuration
use AtlasExternalArea AtlasExternalArea-* External
use AtlasHepMC AtlasHepMC-* External
use AtlasGSL AtlasGSL-* External
use YODA YODA-* External
## Uncomment line below to test with Rivet installation in /afs/.cern.ch
#macro LCG_ROOT "/afs/.cern.ch/sw/lcg"
macro LCG_external "$(LCG_ROOT)/external"
macro Rivet_home "$(LCG_external)/MCGenerators_lcgcmt$(LCG_config_version)/rivet"
macro Rivet_version "2.1.2"
macro Rivet_native_version "$(Rivet_version)_lcgcmt$(LCG_config_version)"
macro Rivet_dir "$(Rivet_home)/$(Rivet_version)/$(LCG_ext_system)"
macro Rivet_lib "$(Rivet_dir)/lib"
macro Rivet_share "$(Rivet_dir)/share"
macro Rivet_bin "$(Rivet_dir)/bin"
macro Rivet_python "$(Rivet_dir)/lib/python${Python_version}/site-packages"
macro Rivet_texmf "$(Rivet_dir)/share/Rivet/texmf
macro Rivet_linkopts "-L$(Rivet_lib) -lRivet"
macro Rivet_export_paths "$(Rivet_dir)"
macro Rivet_follow_symlinks "y"
## Install libraries
apply_pattern declare_installed_libraries dir="$(Rivet_lib)"
## Install headers
#include_path none
include_path $(Rivet_dir)/include
include_dirs $(Rivet_dir)/include
## Install scripts
apply_pattern declare_scripts files=" -s=$(Rivet_bin) *"
path_prepend PATH "$(Rivet_bin)"
## Install Python modules
apply_pattern generic_declare_for_link kind=python_modules \
files='-s=$(Rivet_python) * *.py *.so' prefix="$(CMTCONFIG)/lib/python$(Python_version)" name=rivet_pymodules
path_prepend PYTHONPATH "$(Rivet_python)"
## Set TeX environment for Rivet plotting
path_prepend TEXMFHOME "$(Rivet_texmf)"
path_prepend TEXMFCNF "$(Rivet_texmf)/cnf"
path_prepend TEXINPUTS "$(Rivet_texmf)/tex"
path_prepend LATEXINPUTS "$(Rivet_texmf)/tex"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment