diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-27 19:56:09 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-09 20:37:26 -0400 |
commit | c151988b397e15d67d83047a2e33d3df28353987 (patch) | |
tree | 0c57783bd8b7c9fda2d86ad8f598fa6593f70379 /mesonbuild/backend/xcodebackend.py | |
parent | e8a3f4d38c49ae7a937e0a02db06a73f5593b08f (diff) | |
download | meson-c151988b397e15d67d83047a2e33d3df28353987.zip meson-c151988b397e15d67d83047a2e33d3df28353987.tar.gz meson-c151988b397e15d67d83047a2e33d3df28353987.tar.bz2 |
intro-install_plan: fix destinations for build_targets with custom install_dir
There are a couple issues that combine to make the current handling a
bit confusing.
- we call it "install_dir_name" but it is only ever the class default
- CustomTarget always has it set to None, and then we check if it is
None then create a different variable with a safe fallback. The if is
useless -- it cannot fail, but if it did we'd get an undefined
variable error when we tried to use `dir_name`
Remove the special handling for CustomTarget. Instead, just always
accept None as a possible value of outdir_name when constructing install
data, and, if it is None, fall back to {prefix}/outdir regardless of
what type it used to be.
Diffstat (limited to 'mesonbuild/backend/xcodebackend.py')
0 files changed, 0 insertions, 0 deletions