summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-03-25 23:42:58 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-03-25 23:42:58 +0200
commit65b72d1f89345f2682531c72e427bbc2d607fa0b (patch)
tree0396e0aa8cfade3787f6b220b4c04a0b1d26952e
parent40b5abd668c1cd082a34378ad424170ccf3f494d (diff)
downloadmeson-fix5050.tar.gz
Reduce absolute paths to a deprecation. Closes #5050.fix5050
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 654f6272f..c17298e16 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: