#!/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 mkdir -p "${target_path}/@DATADIR@/kea/meson-info" cp -r '@TOP_BUILD_DIR@/meson-info'/* "${target_path}/@DATADIR@/kea/meson-info"