]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3731] Fix kea-shell installation with meson
authorAndrei Pavel <andrei@isc.org>
Tue, 11 Mar 2025 12:42:23 +0000 (14:42 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 13 Mar 2025 17:03:37 +0000 (18:03 +0100)
src/bin/shell/meson.build

index 10cc7b4231169b2e06c12f36f5577170b79bce72..15922d24fab4ab7124ebab9c7be53d082019a6a3 100644 (file)
@@ -14,7 +14,7 @@ r = run_command(
     check: true,
 )
 python_site_package = r.stdout().strip()
-pkgpythondir = f'@python_site_package@/kea'
+pkgpythondir = f'@PREFIX@/@python_site_package@/kea'
 kea_shell_conf_data.set('PKGPYTHONDIR', pkgpythondir)
 configure_file(
     input: 'kea-shell.in',
@@ -23,19 +23,18 @@ configure_file(
     install: true,
     install_dir: get_option('sbindir'),
 )
-# Install into the system seti package location or not?
 configure_file(
     input: 'kea_conn.py',
     output: 'kea_conn.py',
     copy: true,
-    install: false,
+    install: true,
     install_dir: pkgpythondir,
 )
 configure_file(
     input: 'kea_connector3.py',
     output: 'kea_connector3.py',
     copy: true,
-    install: false,
+    install: true,
     install_dir: pkgpythondir,
 )
 subdir('tests')