diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-08-06 17:00:51 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-08-06 17:00:51 +0300 |
commit | d94e06db21e8bcfcf194b7ba5eb8255acd168d4d (patch) | |
tree | 4ed41e9f3d21ed943b4145402f874e5449c05a85 /mesonconf.py | |
parent | 06f195e9ec1e8ea399ebb138b63865c1e3f4c90d (diff) | |
parent | e765091c2e34f5ac3cd84cf5a61c30ec0868e0a9 (diff) | |
download | meson-d94e06db21e8bcfcf194b7ba5eb8255acd168d4d.zip meson-d94e06db21e8bcfcf194b7ba5eb8255acd168d4d.tar.gz meson-d94e06db21e8bcfcf194b7ba5eb8255acd168d4d.tar.bz2 |
Merged singleexe branch.
Diffstat (limited to 'mesonconf.py')
-rwxr-xr-x | mesonconf.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mesonconf.py b/mesonconf.py index 2b0a1a6..d1874e0 100755 --- a/mesonconf.py +++ b/mesonconf.py @@ -14,7 +14,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -from mesonbuild import mconf +from mesonbuild import mesonmain import sys -sys.exit(mconf.run(sys.argv[1:])) +if __name__ == '__main__': + print('Warning: This executable is deprecated. Use "meson configure" instead.', + file=sys.stderr) + sys.exit(mesonmain.run(['configure'] + sys.argv[1:])) |