From d92fb3ac6c16fe0ae9a70c8cca8a2a8c6d90cc27 Mon Sep 17 00:00:00 2001 From: calvin Date: Thu, 8 Jan 2009 12:34:19 +0000 Subject: [PATCH] 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 --- scripts/bdist.bat | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/bdist.bat b/scripts/bdist.bat index 9691fde8..8f9d2850 100755 --- a/scripts/bdist.bat +++ b/scripts/bdist.bat @@ -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"