diff --git a/doc/jamfile.jam b/doc/jamfile.jam index 2583d3f02..856a3fe16 100644 --- a/doc/jamfile.jam +++ b/doc/jamfile.jam @@ -62,6 +62,17 @@ explicit index ; install html : index : $(doc-dir) website-html ; explicit html ; +make index.html : : @make_redir_html : .. ; +actions make_redir_html +{ + echo @($(<):E= +Automatic redirection failed, please go to +doc/html/index.html. + +) +} +explicit index.html ; + alias standalone-html : html ; if $(website) @@ -117,5 +128,5 @@ actions website-publish alias boostdoc ; explicit boostdoc ; -alias boostrelease : standalone-html ; +alias boostrelease : standalone-html index.html ; explicit boostrelease ; diff --git a/src/engine/vswhere_usability_wrapper.cmd b/src/engine/vswhere_usability_wrapper.cmd index bc5c60528..b9d917231 100644 --- a/src/engine/vswhere_usability_wrapper.cmd +++ b/src/engine/vswhere_usability_wrapper.cmd @@ -32,7 +32,7 @@ for /f "usebackq tokens=*" %%i in (`vswhere %VSWHERE_ARGS%`) do ( REM Visual Studio 2019 (16.X, toolset 14.2) set VSWHERE_LMT=-version "[16.0,17.0)" -SET VSWHERE_ARGS=-latest -products * %VSWHERE_REQ% %VSWHERE_PRP% %VSWHERE_LMT% +SET VSWHERE_ARGS=-latest -products * %VSWHERE_REQ% %VSWHERE_PRP% %VSWHERE_LMT% %VSWHERE_PRERELEASE% for /f "usebackq tokens=*" %%i in (`vswhere %VSWHERE_ARGS%`) do ( endlocal echo Found with vswhere %%i @@ -57,4 +57,4 @@ for /f "usebackq tokens=*" %%i in (`vswhere %VSWHERE_ARGS%`) do ( :no-vswhere endlocal echo could not find "vswhere" -exit /B 1 \ No newline at end of file +exit /B 1