summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorAleš Mrázek <ales.mrazek@nic.cz>2024-09-16 17:56:27 +0200
committerAleš Mrázek <ales.mrazek@nic.cz>2024-09-30 11:16:07 +0200
commitd2c8db59ebe5e07cb66cc3789e2d5b48302b2703 (patch)
tree4796068b74af7429515aba78c83b2577035f2bdf /python
parentscripts/poe-tasks: doc-schema added (diff)
downloadknot-resolver-d2c8db59ebe5e07cb66cc3789e2d5b48302b2703.tar.xz
knot-resolver-d2c8db59ebe5e07cb66cc3789e2d5b48302b2703.zip
meson.build: use non-standard prefix for run_dir
Diffstat (limited to 'python')
-rw-r--r--python/constants.py.in2
-rw-r--r--python/meson.build1
2 files changed, 1 insertions, 2 deletions
diff --git a/python/constants.py.in b/python/constants.py.in
index 3f2eb734..0f1c3a88 100644
--- a/python/constants.py.in
+++ b/python/constants.py.in
@@ -5,7 +5,7 @@ USER = "@user@"
GROUP = "@group@"
# dirs paths
-RUN_DIR = Path("@prefix@@run_dir@")
+RUN_DIR = Path("@run_dir@")
ETC_DIR = Path("@etc_dir@")
SBIN_DIR = Path("@sbin_dir@")
CACHE_DIR = Path("@cache_dir@")
diff --git a/python/meson.build b/python/meson.build
index a0ea0c06..38794daa 100644
--- a/python/meson.build
+++ b/python/meson.build
@@ -5,7 +5,6 @@ constants_config = configuration_data()
constants_config.set('version', meson.project_version())
constants_config.set('user', user)
constants_config.set('group', group)
-constants_config.set('prefix', prefix)
constants_config.set('run_dir', run_dir)
constants_config.set('etc_dir', etc_dir)
constants_config.set('sbin_dir', sbin_dir)