/usr/bin/herwig-config is in herwig++-dev 2.6.0-1.1build2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #! /usr/bin/env bash
# src/herwig-config. Generated from herwig-config.in by configure.
prefix=/usr
exec_prefix=${prefix}
datarootdir=${prefix}/share
tmp=$(echo $* | egrep -- '--\<help\>|-\<h\>')
if test $# -eq 0 || test -n "$tmp"; then
echo "herwig-config: configuration tool for the Herwig++ event generator"
echo " http://projects.hepforge.org/herwig/"
echo
echo "Usage: `basename $0` [Option]"
echo "Options:"
echo " --help | -h : show this help message"
echo " --prefix : show the installation prefix (cf. autoconf)"
echo " --datadir : show the path to the directory containing shared data"
echo " --libdir : show the path to the directory containing the libraries"
echo " --includedir : show the path to the directory containing the headers"
echo " --cppflags : show the required CPPFLAGS for building against Herwig++"
echo " --ldflags : show the required LDFLAGS for linking against Herwig++"
echo " --ldlibs : show the required libraries for linking against Herwig++"
echo
fi
tmp=$(echo "$*" | egrep -- '--\<prefix\>')
test -n "$tmp" && echo $prefix
tmp=$(echo "$*" | egrep -- '--\<datadir\>')
test -n "$tmp" && echo ${datarootdir}/Herwig++
tmp=$(echo "$*" | egrep -- '--\<libdir\>')
test -n "$tmp" && echo ${prefix}/lib/x86_64-linux-gnu/Herwig++
tmp=$(echo "$*" | egrep -- '--\<includedir\>')
test -n "$tmp" && echo ${prefix}/include
tmp=$(echo "$*" | egrep -- '--\<cppflags\>')
test -n "$tmp" && echo -I${prefix}/include -I/usr/include -I/usr/include
tmp=$(echo "$*" | egrep -- '--\<ldflags\>')
test -n "$tmp" && echo -L/usr/lib/x86_64-linux-gnu/ThePEG
tmp=$(echo "$*" | egrep -- '--\<ldlibs\>')
test -n "$tmp" && echo -lThePEG
|