aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mintro.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/mintro.py')
-rw-r--r--mesonbuild/mintro.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py
index fa92a1a..ce9d81e 100644
--- a/mesonbuild/mintro.py
+++ b/mesonbuild/mintro.py
@@ -472,8 +472,10 @@ def run(options):
list_buildoptions_from_source(sourcedir, options.backend)
return 0
if not os.path.isdir(datadir) or not os.path.isdir(infodir):
- print('Current directory is not a build dir. Please specify it or '
- 'change the working directory to it.')
+ print('Current directory is not a meson build directory.'
+ 'Please specify a valid build dir or change the working directory to it.'
+ 'It is also possible that the build directory was generated with an old'
+ 'meson version. Please regenerate it in this case.')
return 1
results = []