summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/meson.build7
-rw-r--r--meson.build1
2 files changed, 5 insertions, 3 deletions
diff --git a/man/meson.build b/man/meson.build
index 2e3b858f4f..b21631b873 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -200,12 +200,15 @@ endif
############################################################
+buildroot_substs = configuration_data()
+buildroot_substs.set_quoted('BUILD_ROOT', project_build_root)
+
configure_file(
input : 'man.in',
output : 'man',
- configuration : substs)
+ configuration : buildroot_substs)
configure_file(
input : 'html.in',
output : 'html',
- configuration : substs)
+ configuration : buildroot_substs)
diff --git a/meson.build b/meson.build
index f43e9a775c..214096b726 100644
--- a/meson.build
+++ b/meson.build
@@ -319,7 +319,6 @@ substs.set('RC_LOCAL_PATH', get_option('rc-loc
substs.set('MEMORY_ACCOUNTING_DEFAULT', memory_accounting_default ? 'yes' : 'no')
substs.set('STATUS_UNIT_FORMAT_DEFAULT', status_unit_format_default)
substs.set('HIGH_RLIMIT_NOFILE', conf.get('HIGH_RLIMIT_NOFILE'))
-substs.set('BUILD_ROOT', project_build_root)
#####################################################################