From 64171b412a58e9b549176ed7e63bcfd9b169139c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 3 May 2019 23:07:37 +0200 Subject: [PATCH] meson: doc: set 'capture: true' instead of redirecting stdout --- doc/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/meson.build b/doc/meson.build index 2147d7c..f91e311 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -14,7 +14,8 @@ foreach man_src : ['f00bar.1.scd', 'f00bar.5.scd', 'f00bar-decorations.5.scd', out, output: out, input: man_src, - command: [sh, '-c', '@0@ < @INPUT@ > doc/@1@'.format(scdoc_prog.path(), out)], + command: [sh, '-c', '@0@ < @INPUT@'.format(scdoc_prog.path())], + capture: true, install: true, install_dir: join_paths(get_option('mandir'), 'man@0@'.format(section))) endforeach