Skip to content

Commit 0396caa

Browse files
committed
add clean cmd to make.bat
1 parent 3ade94c commit 0396caa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

make.bat

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ set SOURCEDIR=source
1111
set BUILDDIR=build
1212

1313
if "%1" == "" goto help
14+
if "%1" == "clean" goto clean
1415

1516
%SPHINXBUILD% >NUL 2>NUL
1617
if errorlevel 9009 (
@@ -37,6 +38,8 @@ goto end
3738
:help
3839
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
3940

41+
:clean
42+
rmdir /S %BUILDDIR
4043

4144
:end
4245
popd

0 commit comments

Comments
 (0)