Skip to content

Conversation

@cepelinas9000
Copy link

By default install_man uses 'man' tag for it files which not always is desirable, for example if project uses plugin functionality and plugin wants to install its own man files it was not possible using meson install --tags xxx.

With this patch is now possible set desired install_tag for install_man command.

Additionally patch aligns functionality with other commands ( such as install_data, executable, shared_library )

for example it now to have expected meson install --tag ... behavior:

...

install_man(plugin1_man, install_tag:'plugin-1')
install_man(plugin2_man, install_tag:'plugin-2')

Fixes: #15399

@bonzini
Copy link
Collaborator

bonzini commented Jan 20, 2026

Please add documentation to docs/markdown/snippets and docs/yaml/functions/install_man.yaml

By default install_man uses 'man' tag for it files which not always is desirable,
for example if project uses plugin functionality and plugin wants to install its own man files
it was not possible using `meson install --tags xxx`.

With this patch is now possible set desired install_tag for install_man command.
@cepelinas9000
Copy link
Author

@bonzini updated, do need more changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

install_man ignores install_tag from configure_file

2 participants