[balsa] meson.build: Actually install man page
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] meson.build: Actually install man page
- Date: Wed, 19 Feb 2020 02:52:03 +0000 (UTC)
commit f0c1890fd922975ed0a9429a99278aa9df75b008
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Tue Feb 18 21:49:57 2020 -0500
meson.build: Actually install man page
and bump meson required version to make it work.
meson.build | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/meson.build b/meson.build
index 4161e80f6..82681f48b 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
project('balsa', 'c',
version : '2.5.9',
- meson_version : '>= 0.43.0',
+ meson_version : '>= 0.50.0',
default_options : ['sysconfdir=/etc', 'optimization=2'])
# if meson is used not in a git source tree, use project version:
@@ -532,11 +532,16 @@ endif # libnetclient_test
# Output
#####################################################################
-output_files = ['balsa.1', 'balsa.spec']
+file = 'balsa.1'
+configure_file(input : file + '.in',
+ output : file,
+ configuration : conf,
+ install : true,
+ install_dir : join_paths(get_option('datadir'),
+ 'man/man1'))
-foreach file : output_files
- configure_file(input : file + '.in', output : file, configuration : conf)
-endforeach
+file = 'balsa.spec'
+configure_file(input : file + '.in', output : file, configuration : conf)
# config.h
configure_file(output : 'config.h', configuration : conf)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]