Remove build and dist directories on clean, which is faster and safer.

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3884 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2009-01-08 12:34:19 +00:00
parent 8d5d4827c3
commit d92fb3ac6c

View file

@ -1,5 +1,5 @@
@echo off
REM batch file for generating the windows .exe installer
: batch file for generating the windows .exe installer
set PYTHON="c:\Python26\python.exe"
cd doc\en
%PYTHON% ..\rest2htmlnav --stylesheet-path=lc.css --time documentation.txt documentation.html
@ -9,9 +9,10 @@ cd doc\en
%PYTHON% ..\rest2htmlnav --stylesheet-path=lc.css --time upgrading.txt upgrading.html
%PYTHON% ..\bfknav.py
cd ..\..
%PYTHON% setup.py clean --all
rd /S /Q build
rd /S /Q dist
%PYTHON% setup.py sdist --manifest-only
:: %PYTHON% setup.py build -c mingw32 bdist_wininst -b hase.bmp --install-script install-linkchecker.py
REM %PYTHON% setup.py build -c mingw32 bdist_wininst -b hase.bmp --install-script install-linkchecker.py
%PYTHON% setup.py build -c mingw32 py2exe
REM start resource editor for .exe icon
: start resource editor for .exe icon
REM "%PROGRAMFILES%\XN Resource Editor\XNResourceEditor.exe"