summaryrefslogtreecommitdiff
path: root/man/meson.build
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-10-21 10:04:23 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-10-22 11:05:17 +0200
commitb8ee3493a54794ca1bbd84d62b4d9f7041fcfddc (patch)
treef5225f6fc7787a2862ac0c0e59b2a27f025e5c56 /man/meson.build
parent4cce6f25241e405cc79498e93a030398d97f177a (diff)
downloadsystemd-b8ee3493a54794ca1bbd84d62b4d9f7041fcfddc.tar.gz
meson: convert developer_mode boolean to an enum
I initially changed this to add a third state. But even with two values having an explicit name instead of just 0/1 is mode descriptive.
Diffstat (limited to 'man/meson.build')
-rw-r--r--man/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/meson.build b/man/meson.build
index 3c2c7023ed..d056ad0c71 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -207,7 +207,7 @@ if dbus_docs.length() > 0
'@INPUT@'],
input : dbus_docs)
- if conf.get('DEVELOPER_MODE') == 1
+ if conf.get('BUILD_MODE') == 'BUILD_MODE_DEVELOPER'
test('dbus-docs-fresh',
update_dbus_docs_py,
args : ['--build-dir=@0@'.format(project_build_root),