From e55f52de0939b664995ee1ae41553cfd18c7e118 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Fri, 28 Apr 2017 15:27:59 -0500 Subject: [PATCH] fix man page installation location docbook2man's --output argument is expecting a directory feeding it the location of the man page just puts the man page under a directory with the same name in the build directory. --- docs/man/meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/man/meson.build b/docs/man/meson.build index dc4297d4e..b03c2b5f8 100644 --- a/docs/man/meson.build +++ b/docs/man/meson.build @@ -2,20 +2,20 @@ docbook2man = find_program('docbook2man', required : false) if docbook2man.found() custom_target('fwupdmgr-man', input : 'fwupdmgr.sgml', - output : 'fwupdmgr.1.gz', + output : 'fwupdmgr.1', command : [ docbook2man, '@INPUT@', - '--output', '@OUTPUT@', + '--output', meson.current_build_dir(), ], install : true, install_dir : join_paths(get_option('mandir'), 'man1'), ) custom_target('dfu-tool-man', input : 'dfu-tool.sgml', - output : 'dfu-tool.1.gz', + output : 'dfu-tool.1', command : [ docbook2man, '@INPUT@', - '--output', '@OUTPUT@', + '--output', meson.current_build_dir(), ], install : true, install_dir : join_paths(get_option('mandir'), 'man1'),