summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-16 15:43:41 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-19 03:24:43 +0200
commit195a8a93278632ca114c622366524f688ecc609a (patch)
treebd5b9465c00ff2e53a5eca55e4b79a4022417079 /meson.build
parentDrop dependency on m4 (diff)
downloadsystemd-195a8a93278632ca114c622366524f688ecc609a.tar.xz
systemd-195a8a93278632ca114c622366524f688ecc609a.zip
meson: use custom configuration_data() object for man/man and man/html helpers
I want to stop using 'substs'. But in this case, configure_file() is nicer than custom_target(), because it causes meson to immediately generate the helpers after configuration, so it's possible to do 'meson build && build/man/man ...', without building anything first. We only substitute one variable here, so let's use a custom configuration_data() object.
Diffstat (limited to '')
-rw-r--r--meson.build1
1 files changed, 0 insertions, 1 deletions
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)
#####################################################################