fixup! deprecate running "meson builddir" without setup subcommand

Also pass the setup command when rewriting --internal regenerate. This
avoids the issue where `ninja` triggers a reconfigure, and this warning
gets printed as a side effect.
pull/10705/head
Eli Schwartz 2 years ago
parent 3c7ab542c0
commit 2fe07adc0e
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      mesonbuild/mesonmain.py

@ -255,7 +255,7 @@ def run(original_args, mainfile):
if args[1] == 'regenerate':
# Rewrite "meson --internal regenerate" command line to
# "meson --reconfigure"
args = ['--reconfigure'] + args[2:]
args = ['setup', '--reconfigure'] + args[2:]
else:
return run_script_command(args[1], args[2:])

Loading…
Cancel
Save