UPD: Install scripts

This commit is contained in:
Alexander Koblov 2011-12-13 06:08:30 +00:00
commit 0340f5d602
7 changed files with 68 additions and 12 deletions

View file

@ -20,16 +20,16 @@ if not "%CPU_TARGET%" == "" (
if "%1"=="components" components\build.bat
if "%1"=="plugins" plugins\build.bat
if "%1"=="nightly" goto nightly
if "%1"=="beta" goto beta
if "%1"=="all" goto all
goto default
:nightly
:beta
call components\build.bat
call plugins\build.bat
rem Build Double Commander
lazbuild src\doublecmd.lpi --bm=nightly %DC_ARCH%
lazbuild src\doublecmd.lpi --bm=beta %DC_ARCH%
rem Build Dwarf LineInfo Extractor
fpc src\extractdwrflnfo.lpr

View file

@ -49,7 +49,7 @@ copy windows\lib\%CPU_TARGET%\*.dll %BUILD_DC_TMP_DIR%\
cd /D %BUILD_DC_TMP_DIR%
rem Build all components of Double Commander
call build.bat all
call build.bat beta
rem Prepare install files
call %BUILD_DC_TMP_DIR%\install\windows\install.bat

View file

@ -91,7 +91,7 @@ cp -a linux/lib/$CPU_TARGET/$lcl/*.so* $BUILD_DC_TMP_DIR/
cd $BUILD_DC_TMP_DIR
# Build all components of Double Commander
./build.sh all
./build.sh beta
# Export variables for checkinstall
export MAINTAINER="Alexander Koblov <Alexx2000@mail.ru>"

View file

@ -68,6 +68,7 @@ mkdir -p $DC_INSTALL_DIR/plugins/dsx/dsxlocate
# Copy files
cp -a doublecmd $DC_INSTALL_DIR/
cp -a doublecmd.zdli $DC_INSTALL_DIR/
cp -a install/linux/doublecmd.xml $DC_INSTALL_DIR/
cp -a doublecmd.ext.example $DC_INSTALL_DIR/
cp -a editor.col $DC_INSTALL_DIR/

View file

@ -48,12 +48,13 @@ Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescrip
[Files]
Source: "doublecmd\doublecmd.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "doublecmd\twilight.col"; DestDir: "{app}"; Flags: ignoreversion
Source: "doublecmd\default.bar"; DestDir: "{app}"; Flags: ignoreversion
Source: "doublecmd\doublecmd.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "doublecmd\editor.col"; DestDir: "{app}"; Flags: ignoreversion
Source: "doublecmd\pixmaps.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "doublecmd\multiarc.ini"; DestDir: "{app}"; Flags: ignoreversion
Source: "doublecmd\doublecmd.zdli"; DestDir: "{app}"; Flags: ignoreversion
Source: "doublecmd\twilight.col"; DestDir: "{app}"; Flags: onlyifdoesntexist
Source: "doublecmd\default.bar"; DestDir: "{app}"; Flags: onlyifdoesntexist
Source: "doublecmd\doublecmd.xml"; DestDir: "{app}"; Flags: onlyifdoesntexist
Source: "doublecmd\editor.col"; DestDir: "{app}"; Flags: onlyifdoesntexist
Source: "doublecmd\pixmaps.txt"; DestDir: "{app}"; Flags: onlyifdoesntexist
Source: "doublecmd\multiarc.ini"; DestDir: "{app}"; Flags: onlyifdoesntexist
Source: "doublecmd\doc\*"; DestDir: "{app}\doc"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "doublecmd\language\*"; DestDir: "{app}\language"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "doublecmd\pixmaps\*"; DestDir: "{app}\pixmaps"; Flags: ignoreversion recursesubdirs createallsubdirs

View file

@ -31,6 +31,7 @@ xcopy /E pixmaps %DC_INSTALL_DIR%\pixmaps\
rem Copy files
copy doc\*.txt %DC_INSTALL_DIR%\doc\
copy doublecmd.exe %DC_INSTALL_DIR%\
copy doublecmd.zdli %DC_INSTALL_DIR%\
copy install\windows\doublecmd.xml %DC_INSTALL_DIR%\
copy doublecmd.ext.example %DC_INSTALL_DIR%\
copy editor.col %DC_INSTALL_DIR%\

View file

@ -26,7 +26,7 @@
<RevisionNr Value="5"/>
<StringTable FileDescription="Double Commander is a cross platform open source file manager with two panels side by side" InternalName="DOUBLECMD" LegalCopyright="Copyright (C) 2006-2011 Koblov Alexander" ProductName="Double Commander" ProductVersion=""/>
</VersionInfo>
<BuildModes Count="4">
<BuildModes Count="5">
<Item1 Name="Debug" Default="True"/>
<Item2 Name="Debug + HeapTrc">
<CompilerOptions>
@ -165,6 +165,59 @@
</Other>
</CompilerOptions>
</Item4>
<Item5 Name="Beta">
<CompilerOptions>
<Version Value="9"/>
<PathDelim Value="\"/>
<Target>
<Filename Value="..\doublecmd"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(LazarusDir)\ide;$(ProjOutDir);..\sdk;..\components\chsdet\src\mbclass;..\components\chsdet\src\stat"/>
<Libraries Value="$(ProjPath)\..\libraries\$(TargetCPU)-$(TargetOS)"/>
<OtherUnitFiles Value="platform;platform\$(SrcOS);..\sdk;newdesign;newdesign\fileproperties;frames;..\components\dcpcrypt;..\components\dcpcrypt\Hashes;..\components\chsdet\src;..\components\chsdet\src\sbseq"/>
<UnitOutputDirectory Value="..\units\$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)"/>
<SrcPath Value="$(LazarusDir)\lcl;$(LazarusDir)\lcl\interfaces\$(LCLWidgetType);$(fpcsrcdir)\packages\fcl-base\src"/>
</SearchPaths>
<Parsing>
<SyntaxOptions>
<IncludeAssertionCode Value="True"/>
</SyntaxOptions>
</Parsing>
<CodeGeneration>
<Checks>
<IOChecks Value="True"/>
</Checks>
<Optimizations>
<VariablesInRegisters Value="True"/>
<OptimizationLevel Value="2"/>
</Optimizations>
</CodeGeneration>
<Linking>
<Debugging>
<UseLineInfoUnit Value="False"/>
<GenerateDwarf Value="True"/>
<UseExternalDbgSyms Value="True"/>
</Debugging>
<Options>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
</Options>
</Linking>
<Other>
<CompilerMessages>
<UseMsgFile Value="True"/>
</CompilerMessages>
<CustomOptions Value="-dNIGHTLY_BUILD"/>
<CompilerPath Value="$(CompPath)"/>
<ExecuteBefore>
<Command Value="_getsvnrev.cmd $(LazarusDir)"/>
<CompileReasons Run="False"/>
</ExecuteBefore>
</Other>
</CompilerOptions>
</Item5>
</BuildModes>
<PublishOptions>
<Version Value="2"/>