From fd3a3e31b3f4a6760780c01fe13163159b6ccec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 16 May 2021 18:49:04 +0200 Subject: [PATCH] meson: drop "_YES_NO" variables We can generate the right string in the template directly. --- man/custom-entities.ent.in | 4 ++-- meson.build | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/man/custom-entities.ent.in b/man/custom-entities.ent.in index 9c6a2d0558..d8612b226e 100644 --- a/man/custom-entities.ent.in +++ b/man/custom-entities.ent.in @@ -7,8 +7,8 @@ - - + + diff --git a/meson.build b/meson.build index 41129b92c4..802f5bb69b 100644 --- a/meson.build +++ b/meson.build @@ -281,7 +281,6 @@ conf.set_quoted('DOCUMENT_ROOT', join_paths(pkgdata conf.set_quoted('SYSTEMD_HOMEWORK_PATH', join_paths(rootlibexecdir, 'systemd-homework')) conf.set_quoted('SYSTEMD_USERWORK_PATH', join_paths(rootlibexecdir, 'systemd-userwork')) conf.set10('MEMORY_ACCOUNTING_DEFAULT', memory_accounting_default) -conf.set_quoted('MEMORY_ACCOUNTING_DEFAULT_YES_NO', memory_accounting_default ? 'yes' : 'no') conf.set('STATUS_UNIT_FORMAT_DEFAULT', 'STATUS_UNIT_FORMAT_' + status_unit_format_default.to_upper()) conf.set_quoted('STATUS_UNIT_FORMAT_DEFAULT_STR', status_unit_format_default) @@ -811,7 +810,6 @@ conf.set10('GROUP_RENDER_UACCESS', group_render_mode != '0666') kill_user_processes = get_option('default-kill-user-processes') conf.set10('KILL_USER_PROCESSES', kill_user_processes) -conf.set_quoted('KILL_USER_PROCESSES_YES_NO', kill_user_processes ? 'yes' : 'no') dns_servers = get_option('dns-servers') conf.set_quoted('DNS_SERVERS', dns_servers)