We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07b4bc8 commit 75376cfCopy full SHA for 75376cf
1 file changed
spin/cmds/meson.py
@@ -858,7 +858,8 @@ def docs(
858
fg="bright_blue",
859
)
860
861
- make_cmd = "make.bat" if sys.platform == "win32" else "make"
+ make_bat_exists = (Path(doc_dir) / "make.bat").exists()
862
+ make_cmd = "make.bat" if sys.platform == "win32" and make_bat_exists else "make"
863
_run([make_cmd, sphinx_target], cwd=doc_dir, replace=True)
864
865
0 commit comments