aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-03-25 23:42:58 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-03-26 01:48:00 +0200
commite2f4e926b2f5ef2419dad8a3a5a5fc73fa3b5937 (patch)
tree0396e0aa8cfade3787f6b220b4c04a0b1d26952e /mesonbuild/interpreter.py
parent40b5abd668c1cd082a34378ad424170ccf3f494d (diff)
downloadmeson-e2f4e926b2f5ef2419dad8a3a5a5fc73fa3b5937.zip
meson-e2f4e926b2f5ef2419dad8a3a5a5fc73fa3b5937.tar.gz
meson-e2f4e926b2f5ef2419dad8a3a5a5fc73fa3b5937.tar.bz2
Reduce absolute paths to a deprecation. Closes #5050.
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 654f627..c17298e 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -612,7 +612,7 @@ class Headers(InterpreterObject):
self.sources = sources
self.install_subdir = kwargs.get('subdir', '')
if os.path.isabs(self.install_subdir):
- raise InterpreterException('Subdir keyword must not be an absolute path.')
+ mlog.deprecation('Subdir keyword must not be an absolute path. This will be a hard error in the next release.')
self.custom_install_dir = kwargs.get('install_dir', None)
self.custom_install_mode = kwargs.get('install_mode', None)
if self.custom_install_dir is not None: