diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-03-01 18:54:05 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-03-02 17:17:45 -0500 |
commit | 2bcc204a11073628e95f01181a0b037d81b64178 (patch) | |
tree | de7ac218ff60a4ed22dacc92d5bcc1640c3f2a42 /setup.py | |
parent | 96b2469544fba40e63d009db73b41c3b07b80684 (diff) | |
download | meson-2bcc204a11073628e95f01181a0b037d81b64178.zip meson-2bcc204a11073628e95f01181a0b037d81b64178.tar.gz meson-2bcc204a11073628e95f01181a0b037d81b64178.tar.bz2 |
document and raise an error for disallowed combination of install_headers args
It makes no sense to specify both:
- install_dir, which overrides the -Dincludedir= builtin option
- subdir, which suffixes the -Dincludedir= builtin option
We've always silently ignored the subdir in this case, which is really
surprising if someone actually passed it and expected it to do
something. We also confusingly didn't say anything in the documentation
about it.
Document that the options are incompatible, and explicitly check to see
if they are both passed -- if so, raise an error message pointing out
that only install_dir should be used.
Fixes #10046
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions