2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 01:49:48 +00:00
kea/install-meson-info.sh.in
2025-03-19 12:36:56 +02:00

13 lines
416 B
Bash
Executable File

#!/bin/sh
set -eu
# Destdir is set everytime the installation happens through meson or ninja even when --destdir is not passed.
# Set target path to prefix in case someone wants to run this script directly.
target_path='@PREFIX@'
if test -n "${MESON_INSTALL_DESTDIR_PREFIX+x}"; then
target_path="${MESON_INSTALL_DESTDIR_PREFIX}"
fi
cp -r '@TOP_BUILD_DIR@/meson-info' "${target_path}/@DATADIR@/kea/meson-info"