meson: docs: Install all manpages, not just ones in man1

In f13eb16485 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 <myon@debian.org>
Discussion: https://postgr.es/m/ZUU5pRQO6ZUeBsi6@msg.df7cb.de
Backpatch: 16-, where the meson build was introduced
This commit is contained in:
Andres Freund 2023-11-03 11:46:52 -07:00
parent d594e0daf7
commit a237a07d53
1 changed files with 2 additions and 1 deletions

View File

@ -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)