From a237a07d5351d7bb0afc6e0c41410d52915e47c8 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Fri, 3 Nov 2023 11:46:52 -0700 Subject: [PATCH] meson: docs: Install all manpages, not just ones in man1 In f13eb16485f I made a mistake leading to only man1 being installed. I will report a bug suggesting that meson warn about mistakes of this sort. Reported-by: Christoph Berg Discussion: https://postgr.es/m/ZUU5pRQO6ZUeBsi6@msg.df7cb.de Backpatch: 16-, where the meson build was introduced --- doc/src/sgml/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/meson.build b/doc/src/sgml/meson.build index 16c1aa980c9..90e2c062fa8 100644 --- a/doc/src/sgml/meson.build +++ b/doc/src/sgml/meson.build @@ -225,9 +225,10 @@ if docs_dep.found() install_doc_man = custom_target('install-man', output: 'install-man', + input: man, command: [ python, install_files, '--prefix', dir_prefix, - '--install-dirs', dir_man, man], + '--install-dirs', dir_man, '@INPUT@'], build_always_stale: true, build_by_default: false, ) alias_target('install-doc-man', install_doc_man)