-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Describe the bug
When trying to use install_tag with install_man(configure_file.. it is ignored.
To Reproduce
Minimal toy repository: https://github.com/cepelinas9000/meson-simpleprj
For example there are multiple install files with install_tag set:
- simplelib.so - xf86-plugin
- sample.4 - xf86-plugin
- sample.conf - xf86-plugin
- simpleprj - xf86-prj
If I performing meson install or ninja install, everything is as expected:
$ ninja install
[4/5] Installing files
Installing simplelib.so to /tmp/p1/lib64
Installing simpleprj to /tmp/p1/bin
Installing /home/as/proj/simpleprj/build/sample.4 to /tmp/p1/share/man/man4
Installing /home/as/proj/simpleprj/sample.conf to /tmp/p1/share/simpleprj
But if I use install with tags, the man file (sample.4) is ignored:
$ meson install --tags xf86-plugin
ninja: Entering directory `/home/as/proj/simpleprj/build'
[4/4] Linking target simpleprj
Installing simplelib.so to /tmp/p1/lib64
Installing /home/as/proj/simpleprj/sample.conf to /tmp/p1/share/simpleprj
Expected behavior
meson install --tags xf86-plugins or similar install tagged man files, for example:
$ meson install --tags xf86-plugin
ninja: Entering directory `/home/as/proj/simpleprj/build'
[4/4] Linking target simpleprj
Installing simplelib.so to /tmp/p1/lib64
Installing /home/as/proj/simpleprj/build/sample.4 to /tmp/p1/share/man/man4 << !!! expectation !!!
Installing /home/as/proj/simpleprj/sample.conf to /tmp/p1/share/simpleprj
system parameters
- Is this a cross build or just a plain native build (for the same computer)? Just native
- what operating system (e.g. MacOS Catalina, Windows 10, CentOS 8.0, Ubuntu 18.04, etc.) Gentoo
- what Python version are you using e.g. 3.8.0 : 3.12.11
- what
meson --version1.9.2 - what
ninja --versionif it's a Ninja build 1.13.1
Metadata
Metadata
Assignees
Labels
No labels