summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-09-08 17:14:48 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-09-20 19:25:58 +0300
commit6e2622564dc85875ee9e2f22874f9607cf0cdd9c (patch)
treef30b8cdc386bd71c531cbb2125dc74173e35d8f0 /man
parentfd5aa6aac2dba154689c5350280d4cba9284eee5 (diff)
meson: share the configuration_data object
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 <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'man')
-rw-r--r--man/meson.build8
1 files changed, 1 insertions, 7 deletions
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')