meson.build: separate options for installing man pages or docs

This commit is contained in:
Pauli Virtanen 2023-11-24 17:48:22 +02:00
parent d0ec322434
commit ffa52fdbc1
3 changed files with 20 additions and 10 deletions

View file

@ -209,7 +209,7 @@ html_target = custom_target('pipewire-docs',
output: [ 'html' ],
command: [ doxygen, doxyfile ],
env: doxygen_env,
install: true,
install: install_docs,
install_tag: 'doc',
install_dir: docdir)
@ -230,7 +230,7 @@ foreach m : manpages
input : html_target,
depend_files : [ man_fixup ],
capture : true,
install : true,
install : install_man,
install_tag: 'man',
install_dir : get_option('mandir') / 'man' + section
)