delete unnecessary files

svn path=/trunk/; revision=29312
This commit is contained in:
Klemens Friedl 2007-09-30 14:36:14 +00:00
parent 925313a32b
commit 5ab6d7ba86
9 changed files with 0 additions and 5195 deletions

View file

@ -1,23 +0,0 @@
@echo off
pushd .
@call "C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"
IF ERRORLEVEL 1 goto VC_SETUP_FAILED
nmake -f Makefile.vc8
IF ERRORLEVEL 1 goto COMPILATION_FAILED
del *.obj *.ilk
test_file_util_d.exe
goto END
:VC_SETUP_FAILED
echo Failed to setup vc8
goto END
:COMPILATION_FAILED
echo Compilation failed!
goto END
:END
popd

View file

@ -1,5 +0,0 @@
nmake -f makefile.msvc TARGET=rel
nmake -f makefile.msvc TARGET=dbg
nmake -f makefile.msvc TARGET=rel-unicode
nmake -f makefile.msvc TARGET=dbg-unicode

View file

@ -1,9 +0,0 @@
nmake -f makefile.msvc TARGET=rel clean
nmake -f makefile.msvc TARGET=dbg clean
nmake -f makefile.msvc TARGET=rel-unicode clean
nmake -f makefile.msvc TARGET=dbg-unicode clean
nmake -f makefile.msvc TARGET=rel
nmake -f makefile.msvc TARGET=dbg
nmake -f makefile.msvc TARGET=rel-unicode
nmake -f makefile.msvc TARGET=dbg-unicode

View file

@ -1 +0,0 @@
nmake -f Makefile.vc DEBUG=1

View file

@ -1 +0,0 @@
nmake -f Makefile.vc

View file

@ -1 +0,0 @@
nmake -f Makefile.vc clean

File diff suppressed because it is too large Load diff

View file

@ -1,52 +0,0 @@
@set PATH=%PATH%;%ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE
@set NSIS_EXE=%ProgramFiles%\NSIS\makensis.exe
@set PATH=%PATH%;%ProgramFiles%\NSIS
@set FASTDL_PATH=C:\kjk\src\web\fastdl\www
@pushd .
@set VERSION=%1
@IF NOT DEFINED VERSION GOTO VERSION_NEEDED
@rem TODO: check if %NSIS_EXE% file exists, GOTO NSIS_NEEDED if not
@rem @IF NOT EXISTS %NSIS_EXE% GOTO NSIS_NEEDED
devenv ..\sumatrapdf.sln /Rebuild "Release|Win32"
@IF ERRORLEVEL 1 goto BUILD_FAILED
echo Compilation ok!
copy ..\Release\SumatraPDF.exe ..\Release\SumatraPDF-uncomp.exe
upx --best ..\Release\SumatraPDF.exe
@IF ERRORLEVEL 1 goto PACK_FAILED
@makensis installer
@IF ERRORLEVEL 1 goto INSTALLER_FAILED
move SumatraPDF-install.exe ..\Release\SumatraPDF-%VERSION%-install.exe
copy ..\Release\SumatraPDF-%VERSION%-install.exe %FASTDL_PATH%\SumatraPDF-%VERSION%-install.exe
@cd ..\Release
@rem don't bother compressing since our *.exe has already been packed
zip -0 SumatraPDF-%VERSION%.zip SumatraPDF.exe
copy SumatraPDF-%VERSION%.zip %FASTDL_PATH%\SumatraPDF-%VERSION%.zip
@goto END
:INSTALLER_FAILED
echo Installer script failed
@goto END
:PACK_FAILED
echo Failed to pack executable with upx. Do you have upx installed?
@goto END
:BUILD_FAILED
echo Build failed!
@goto END
:VERSION_NEEDED
echo Need to provide version number e.g. build-release.bat 1.0
@goto END
:NSIS_NEEDED
echo NSIS doesn't seem to be installed. Get it from http://nsis.sourceforge.net/Download
@goto END
:END
@popd