aboutsummaryrefslogtreecommitdiff
path: root/interpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-10-11 20:48:05 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-10-11 20:48:05 +0300
commit97303b1783e3be567172143b6eabf7cb76191d66 (patch)
treec9337b76a330fdcaf340aa7bc606f9bc4bfb4eda /interpreter.py
parent65974b4dad6796e6cf390a297634b0f457d8ae8a (diff)
downloadmeson-97303b1783e3be567172143b6eabf7cb76191d66.zip
meson-97303b1783e3be567172143b6eabf7cb76191d66.tar.gz
meson-97303b1783e3be567172143b6eabf7cb76191d66.tar.bz2
Renamed man() to install_man().
Diffstat (limited to 'interpreter.py')
-rw-r--r--interpreter.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/interpreter.py b/interpreter.py
index af4b9c0..60903f6 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -691,6 +691,7 @@ class Interpreter():
'test' : self.func_test,
'install_headers' : self.func_install_headers,
'headers' : self.func_headers,
+ 'install_man' : self.func_install_man,
'man' : self.func_man,
'subdir' : self.func_subdir,
'data' : self.func_data,
@@ -1160,6 +1161,10 @@ class Interpreter():
return h
def func_man(self, node, args, kwargs):
+ mlog.log(mlog.bold('Warning! '), 'Function man() is deprecated, please use install_man() instead.')
+ return self.func_install_man(node, args, kwargs)
+
+ def func_install_man(self, node, args, kwargs):
for a in args:
if not isinstance(a, str):
raise InvalidArguments('Argument %s is not a string.' % str(a))