aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreter.py
diff options
context:
space:
mode:
authorChristian Wendt <cwe@skov.com>2022-02-23 16:21:40 +0100
committerEli Schwartz <eschwartz93@gmail.com>2022-02-28 07:17:33 -0500
commit3478e968d2f9820c9ffe0f6e4e04ebfa37bacd47 (patch)
tree9f029b16a5597798db98b3060ee425d849fea9c2 /mesonbuild/interpreter/interpreter.py
parent80cb87e7b75b2aa2a61a48d31400051813f0a46f (diff)
downloadmeson-3478e968d2f9820c9ffe0f6e4e04ebfa37bacd47.zip
meson-3478e968d2f9820c9ffe0f6e4e04ebfa37bacd47.tar.gz
meson-3478e968d2f9820c9ffe0f6e4e04ebfa37bacd47.tar.bz2
Add missing install_tag kwarg to install_emptydir()
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r--mesonbuild/interpreter/interpreter.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index 136e596..30d0e4c 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -2036,10 +2036,11 @@ external dependencies (including libraries) must go to "dependencies".''')
@FeatureNew('install_emptydir', '0.60.0')
@typed_kwargs(
'install_emptydir',
- INSTALL_MODE_KW
+ INSTALL_MODE_KW,
+ KwargInfo('install_tag', (str, NoneType), since='0.62.0')
)
def func_install_emptydir(self, node: mparser.BaseNode, args: T.Tuple[str], kwargs) -> None:
- d = build.EmptyDir(args[0], kwargs['install_mode'], self.subproject)
+ d = build.EmptyDir(args[0], kwargs['install_mode'], self.subproject, kwargs['install_tag'])
self.build.emptydir.append(d)
return d