@echo off if "%1"=="CLEAN" ( call :CLEAN ) else ( call :NORMAL if "%1"=="MOVE" (call :MOVE) ) goto :END ::=========== :CLEAN cd msvc7 devenv Firebird2.sln /clean debug cd .. goto :EOF ::=========== :NORMAL cd msvc7 echo %time% >Firebird2.log devenv Firebird2.sln /build debug /out Firebird2.log del debug\firebird\bin\*.exp del debug\firebird\bin\*.lib cd .. goto :EOF ::=========== :MOVE rmdir /q /s output mkdir output mkdir output\bin mkdir output\intl mkdir output\intlcpp mkdir output\udf mkdir output\help mkdir output\doc mkdir output\include mkdir output\lib copy msvc7\debug\firebird\bin\* output\bin copy msvc7\debug\firebird\intl\* output\intl copy msvc7\debug\firebird\udf\* output\udf copy msvc7\debug\firebird\intlcpp\* output\intlcpp copy gpre.exe output\bin copy dbs\jrd\SECURITY.FDB output\security.fdb copy dbs\qli\HELP.fdb output\help\help.fdb copy ..\..\ChangeLog output\doc\ChangeLog.txt copy ..\..\doc\WhatsNew output\doc\WhatsNew.txt copy ..\..\src\jrd\ibase.h output\include copy ..\..\src\include\gen\iberror.h output\include copy install_super.bat output\bin copy install_classic.bat output\bin copy uninstall.bat output\bin goto :EOF :END