From 6e2622564dc85875ee9e2f22874f9607cf0cdd9c Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Fri, 8 Sep 2017 17:14:48 +0200 Subject: meson: share the configuration_data object MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suggested by Jani. And rename from config_h to plain config, to make it's multi-use character a bit more obvious. Cc: Jani Nikula Signed-off-by: Daniel Vetter Signed-off-by: Ville Syrjälä --- man/meson.build | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'man') diff --git a/man/meson.build b/man/meson.build index 4f9f88e8..351d025b 100644 --- a/man/meson.build +++ b/man/meson.build @@ -18,15 +18,9 @@ manpages = [ 'intel_vbt_decode', ] -man_config = configuration_data() - -man_config.set('PACKAGE_NAME', meson.project_name()) -man_config.set('PACKAGE_VERSION', meson.project_version()) -man_config.set('PACKAGE_STRING', meson.project_name() + ' ' + meson.project_version()) - defs_rst = configure_file(input : 'defs.rst.in', output : 'defs.rst', - configuration : man_config) + configuration : config) rst2man = find_program('rst2man', required : false) rst2man_script = find_program('rst2man.sh') -- cgit v1.2.3