diff options
Diffstat (limited to 'mesonconf.py')
-rwxr-xr-x | mesonconf.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mesonconf.py b/mesonconf.py index 2b0a1a6..732a3b2 100755 --- a/mesonconf.py +++ b/mesonconf.py @@ -14,7 +14,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -from mesonbuild import mconf +from mesonbuild import mesonmain, mlog import sys -sys.exit(mconf.run(sys.argv[1:])) +if __name__ == '__main__': + mlog.warning('This executable is deprecated, use "meson configure" instead.') + sys.exit(mesonmain.run(['configure'] + sys.argv[1:])) |