diff options
author | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-09-10 11:07:09 +0200 |
---|---|---|
committer | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-09-30 11:16:07 +0200 |
commit | 272f9006a1a44d4dd3cb50b235e5a5e47d5df050 (patch) | |
tree | 6273f25bbf7ab1bebc3352db4ec617c46e1d9313 /scripts/poe-tasks | |
parent | scripts/poe-tasks: text and naming improvements (diff) | |
download | knot-resolver-272f9006a1a44d4dd3cb50b235e5a5e47d5df050.tar.xz knot-resolver-272f9006a1a44d4dd3cb50b235e5a5e47d5df050.zip |
python/knot_resolver: use constants.py configured by Meson
Diffstat (limited to 'scripts/poe-tasks')
-rwxr-xr-x | scripts/poe-tasks/configure | 2 | ||||
-rw-r--r-- | scripts/poe-tasks/utils/_env.sh | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/scripts/poe-tasks/configure b/scripts/poe-tasks/configure index c7cfbb2f..d2b38a46 100755 --- a/scripts/poe-tasks/configure +++ b/scripts/poe-tasks/configure @@ -5,5 +5,3 @@ src_dir="$(dirname "$(realpath "$0")")" source $src_dir/utils/_env.sh kres_meson_configure - -kres_meson_build diff --git a/scripts/poe-tasks/utils/_env.sh b/scripts/poe-tasks/utils/_env.sh index 59947fb5..b5e0f14f 100644 --- a/scripts/poe-tasks/utils/_env.sh +++ b/scripts/poe-tasks/utils/_env.sh @@ -66,6 +66,11 @@ function kres_meson_configure { echo -e "${blue}${reset}" echo meson setup $build_dir $reconfigure --prefix=$install_dir -Duser=$USER -Dgroup=$(id -gn) "$@" + echo + echo Copying Knot Resolver constants.py module + echo ----------------------------------------- + cp -v $build_dir/python/constants.py $gitroot/python/knot_resolver/constants.py + echo } function kres_meson_build { @@ -78,6 +83,7 @@ function kres_meson_build { echo ninja -C $build_dir ninja install -C $build_dir + echo else echo echo Knot Resolver is not configured for building. |