2 # SPDX-License-Identifier: GPL-2.0-only
4 # Copyright (c) 2023 Olivier Dion <odion@efficios.com>
6 srcdir
=$
(realpath
"@abs_top_srcdir@")
7 builddir
=$
(realpath
"@abs_top_builddir@")
8 bin
="$builddir/src/bin"
10 # lttng-sessiond setup.
11 LTTNG_SESSION_CONFIG_XSD_PATH
="$srcdir/src/common"
12 export LTTNG_SESSION_CONFIG_XSD_PATH
14 LTTNG_CONSUMERD32_BIN
="$bin/lttng-consumerd/lttng-consumerd"
15 LTTNG_CONSUMERD64_BIN
="$bin/lttng-consumerd/lttng-consumerd"
16 export LTTNG_CONSUMERD32_BIN
17 export LTTNG_CONSUMERD64_BIN
20 LTTNG_SESSIOND_PATH
="$bin/lttng-sessiond/lttng-sessiond"
21 export LTTNG_SESSIOND_PATH
23 # Easy access to binaries.
24 PATH
="$bin/lttng:$bin/lttng-consumerd:$bin/lttng-crash:$bin/lttng-relayd:$bin/lttng-sessiond:$PATH"
27 # Use local path to search manual pages.
28 MANPATH
="$builddir/doc/man"
31 # Use local path to search manual pages for lttng --help.
32 LTTNG_MANPATH
="$builddir/doc/man"
35 # Use system man instead of /usr/bin/man.
36 LTTNG_MAN_BIN_PATH
=$
(type -p man
)
37 export LTTNG_MAN_BIN_PATH