mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-09 10:59:41 +02:00
windows installer build script: reduced output of svn export
git-svn-id: trunk@39248 -
This commit is contained in:
parent
92f88a8066
commit
6f4991f5ba
@ -107,7 +107,7 @@ copy %COMPILER% %INSTALL_BINDIR%
|
||||
SET COMPILER=%INSTALL_BINDIR%\%PPCNAME%
|
||||
|
||||
gmkdir -p %BUILDDIR%\packager
|
||||
%SVN% export %LAZSVNDIR%\packager\registration %BUILDDIR%\packager\registration
|
||||
%SVN% export -q %LAZSVNDIR%\packager\registration %BUILDDIR%\packager\registration
|
||||
%BUILDDRIVE%
|
||||
cd %BUILDDIR%\packager\registration
|
||||
%MAKEEXE% FPC=%compiler%
|
||||
@ -116,7 +116,7 @@ gmkdir -p %BUILDDIR%\image\packager\units
|
||||
cp -pr %BUILDDIR%\packager\units\%FPCFULLTARGET% %BUILDDIR%\image\packager\units\%FPCFULLTARGET%
|
||||
|
||||
gmkdir -p %BUILDDIR%\components
|
||||
%SVN% export %LAZSVNDIR%\components\lazutils %BUILDDIR%\components\lazutils
|
||||
%SVN% export -q %LAZSVNDIR%\components\lazutils %BUILDDIR%\components\lazutils
|
||||
%BUILDDRIVE%
|
||||
cd %BUILDDIR%\components\lazutils
|
||||
%MAKEEXE% FPC=%compiler%
|
||||
@ -124,7 +124,7 @@ IF ERRORLEVEL 1 GOTO CLEANUP
|
||||
gmkdir -p %BUILDDIR%\image\components\lazutils
|
||||
cp -pr %BUILDDIR%\components\lazutils\lib %BUILDDIR%\image\components\lazutils\lib
|
||||
|
||||
%SVN% export %LAZSVNDIR%\lcl %BUILDDIR%\lcl
|
||||
%SVN% export -q %LAZSVNDIR%\lcl %BUILDDIR%\lcl
|
||||
%BUILDDRIVE%
|
||||
cd %BUILDDIR%\lcl
|
||||
%MAKEEXE% FPC=%compiler%
|
||||
@ -132,7 +132,7 @@ IF ERRORLEVEL 1 GOTO CLEANUP
|
||||
gmkdir -p %BUILDDIR%\image\lcl\units
|
||||
cp -pr %BUILDDIR%\lcl\units\%FPCFULLTARGET% %BUILDDIR%\image\lcl\units\%FPCFULLTARGET%
|
||||
|
||||
%SVN% export %LAZSVNDIR%\components\lazcontrols %BUILDDIR%\components\lazcontrols
|
||||
%SVN% export -q %LAZSVNDIR%\components\lazcontrols %BUILDDIR%\components\lazcontrols
|
||||
%BUILDDRIVE%
|
||||
cd %BUILDDIR%\components\lazcontrols
|
||||
%MAKEEXE% FPC=%compiler%
|
||||
@ -140,9 +140,9 @@ IF ERRORLEVEL 1 GOTO CLEANUP
|
||||
gmkdir -p %BUILDDIR%\image\components\lazcontrols
|
||||
cp -pr %BUILDDIR%\components\lazcontrols\lib %BUILDDIR%\image\components\lazcontrols\lib
|
||||
|
||||
%SVN% export %LAZSVNDIR%\ideintf %BUILDDIR%\ideintf
|
||||
%SVN% export -q %LAZSVNDIR%\ideintf %BUILDDIR%\ideintf
|
||||
:: export images dir, the ideintf includes them
|
||||
%SVN% export %LAZSVNDIR%\images %BUILDDIR%\images
|
||||
%SVN% export -q %LAZSVNDIR%\images %BUILDDIR%\images
|
||||
cd %BUILDDIR%\ideintf
|
||||
IF ERRORLEVEL 1 GOTO CLEANUP
|
||||
%MAKEEXE% FPC=%compiler%
|
||||
@ -150,7 +150,7 @@ gmkdir -p %BUILDDIR%\image\ideintf\units
|
||||
cp -pr %BUILDDIR%\ideintf\units\%FPCFULLTARGET% %BUILDDIR%\image\ideintf\units\%FPCFULLTARGET%
|
||||
|
||||
gmkdir -p %BUILDDIR%\components
|
||||
%SVN% export %LAZSVNDIR%\components\synedit %BUILDDIR%\components\synedit
|
||||
%SVN% export -q %LAZSVNDIR%\components\synedit %BUILDDIR%\components\synedit
|
||||
cd %BUILDDIR%\components\synedit
|
||||
IF ERRORLEVEL 1 GOTO CLEANUP
|
||||
%MAKEEXE% FPC=%compiler%
|
||||
|
@ -4,7 +4,7 @@ SET OLDCURDRIVE=%CD:~,2%
|
||||
SET FPCSRC_DIR=%FPCSVNDIR%\fpcsrc
|
||||
|
||||
SET SOURCE_DIR=%BUILDDIR%\fpc-source
|
||||
%SVN% export %FPCSRC_DIR% %SOURCE_DIR%
|
||||
%SVN% export -q %FPCSRC_DIR% %SOURCE_DIR%
|
||||
|
||||
:: to switch drive
|
||||
%SOURCE_DIR:~,2%
|
||||
|
@ -82,14 +82,14 @@ SET PATH=%FPCBINDIR%
|
||||
|
||||
:: copy lazarus dir
|
||||
rmdir /s /q %BUILDDIR%
|
||||
%SVN% export %LAZSVNDIR% %BUILDDIR% >> %LOGFILE%
|
||||
%SVN% export -q %LAZSVNDIR% %BUILDDIR% >> %LOGFILE%
|
||||
IF %ERRORLEVEL% NEQ 0 GOTO SVNERR
|
||||
call svn2revisioninc.bat %LAZSVNDIR% %BUILDDIR%\ide\revision.inc
|
||||
|
||||
call build-fpc.bat
|
||||
|
||||
:: INSTALL_BINDIR is set by build-fpc.bat
|
||||
%SVN% export %FPCBINDIR% %BUILDDIR%\fpcbins >> %LOGFILE%
|
||||
%SVN% export -q %FPCBINDIR% %BUILDDIR%\fpcbins >> %LOGFILE%
|
||||
IF %ERRORLEVEL% NEQ 0 GOTO SVNERR
|
||||
mv %BUILDDIR%\fpcbins\*.* %INSTALL_BINDIR%
|
||||
%FPCBINDIR%\rm -rf %BUILDDIR%\fpcbins
|
||||
@ -110,7 +110,7 @@ if not exist %BUILDDIR%\lazarus.exe goto END
|
||||
if not exist %BUILDDIR%\startlazarus.exe goto END
|
||||
|
||||
:: copy gdb into build dir
|
||||
if exist %GDBDIR% %SVN% export %GDBDIR% %BUILDDIR%\mingw
|
||||
if exist %GDBDIR% %SVN% export -q %GDBDIR% %BUILDDIR%\mingw
|
||||
|
||||
:: create the installer
|
||||
IF [%BUILDLAZRELEASE%]==[] GOTO SNAPSHOT
|
||||
|
Loading…
Reference in New Issue
Block a user