aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mintro.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2018-12-30 12:38:55 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-01-06 12:19:31 +0100
commit02734cc5c34faabe8ec0685139451f8349469993 (patch)
treed3c7c3f04dcc042ac2d0a6fca38bd57795396ae4 /mesonbuild/mintro.py
parentc33df1fd7377ed6f2116c61b19cac1825ae68f86 (diff)
downloadmeson-02734cc5c34faabe8ec0685139451f8349469993.zip
meson-02734cc5c34faabe8ec0685139451f8349469993.tar.gz
meson-02734cc5c34faabe8ec0685139451f8349469993.tar.bz2
Better documentation
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 = []