Richard Hughes has uploaded this change for review.

View Change

Install the man file when using meson as a buildsystem

This fixes a regression with the Fedora package.

Change-Id: I881bd5002a842072ce9dadea033c51a2668f9e7c
Signed-off-by: Richard Hughes <richard@hughsie.com>
---
M meson.build
1 file changed, 9 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/39/38939/1
diff --git a/meson.build b/meson.build
index 375089c..df39290 100644
--- a/meson.build
+++ b/meson.build
@@ -299,6 +299,7 @@
prefix = get_option('prefix')
sbindir = join_paths(prefix, get_option('sbindir'))
libdir = join_paths(prefix, get_option('libdir'))
+mandir = join_paths(prefix, get_option('mandir'))

install_headers([
'libflashrom.h',
@@ -372,6 +373,14 @@
description : 'library to interact with flashrom',
)

+configure_file(
+ input : 'flashrom.8.tmpl',
+ output : 'flashrom.8',
+ copy: true,
+ install: true,
+ install_dir: join_paths(mandir, 'man8'),
+)
+
flashrom_dep = declare_dependency(
link_with : flashrom,
include_directories : include_directories('.'),

To view, visit change 38939. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I881bd5002a842072ce9dadea033c51a2668f9e7c
Gerrit-Change-Number: 38939
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Hughes <richard@hughsie.com>
Gerrit-MessageType: newchange