2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00
kea/install-meson-info.sh.in

14 lines
469 B
Bash
Raw Permalink Normal View History

2025-03-19 12:36:56 +02:00
#!/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
2025-05-09 18:23:00 +03:00
mkdir -p "${target_path}/@DATADIR@/kea/meson-info"
cp -r '@TOP_BUILD_DIR@/meson-info'/* "${target_path}/@DATADIR@/kea/meson-info"