Warning, /office/calligra/windows/calligra_installer/env.bat is written in an unsupported language. File is not indexed.

0001 :: Copyright (c) 2011-2012 KO GmbH.  All rights reserved.
0002 :: Copyright (c) 2011-2012 Stuart Dickson <stuartmd@kogmbh.com>
0003 ::
0004 :: The use and distribution terms for this software are covered by the
0005 :: Common Public License 1.0 (http://opensource.org/licenses/cpl1.0.php)
0006 :: which can be found in the file CPL.TXT at the root of this distribution.
0007 :: By using this software in any fashion, you are agreeing to be bound by
0008 :: the terms of this license.
0009 ::  
0010 :: You must not remove this notice, or any other, from this software.
0011 :: ------------------------------------------------------------------------
0012 ::
0013 ::  C2W Installer 
0014 ::  Environment settings
0015 :: 
0016 ::  This file checks for the presence of environment variables
0017 ::  and sets default values if they do not exist.
0018 ::
0019 ::  wix process
0020 ::  -----------
0021 ::  C2WINSTALL_WIX_BIN - location of the Wix binaries
0022 ::  C2WINSTALL_OUTPUT - destination for generated installers
0023 ::  C2WINSTALL_INPUT - source directory of packaged KDEROOT+CALLIGRA_INST
0024 ::  C2WINSTALL_MERGEMODS - directory where we should look for Merge Modules
0025 ::
0026 ::  package process
0027 ::  ---------------
0028 ::  CALLIGRA_INST - the Calligra installation directory
0029 ::  KDEROOT - the root of the KDE on Windows emerge based distribution
0030 :: 
0031 ::  Build options (defined elsewhere)
0032 ::  ---------------------------------
0033 :: C2WINSTALL_VC2010_DISTRIBUTE:
0034 ::     DLL - bundle DLLs
0035 ::     MSM - use Merge Modules
0036 ::     <other> - display error message  
0037 ::
0038 :: ...USE_DLL has priority, if neither are defined, an error is displayed
0039 ::
0040 ::  -----------------------------------------------------------------------
0041 
0042 IF "%C2WINSTALL_VERSION%"=="" (
0043     :: We must define this, if it hasn't already been
0044         echo WARNING: You should set C2WINSTALL_VERSION
0045         set C2WINSTALL_VERSION=0.0.0.0
0046 )
0047 
0048 IF "%C2WINSTALL_GITREV%"=="" (
0049         :: We must define this, if it hasn't already been
0050         echo WARNING: You should set C2WINSTALL_GITREV
0051         set C2WINSTALL_GITREV=last
0052 )
0053 
0054 IF "%C2WINSTALL_VC2010_DISTRIBUTE%"=="" (
0055         :: If no distribute set, then need to set to 
0056         :: something in order to display warning dialog.
0057         set C2WINSTALL_VC2010_DISTRIBUTE=ERROR
0058 )
0059 
0060 IF "%C2WINSTALL_WIX_BIN%"=="" (
0061         set C2WINSTALL_WIX_BIN=%~dp0..\wix36
0062 )
0063 
0064 IF "%C2WINSTALL_MERGEMODULES%"=="" (
0065         set C2WINSTALL_MERGEMODULES=%~dp0..\deps\vcredist\MergeModules
0066 )
0067 
0068 IF "%C2WINSTALL_VC2010_DLLS%"=="" (
0069         set C2WINSTALL_VC2010_DLLS=%~dp0..\deps\vcredist\DLLs\Microsoft.VC100.CRT
0070 )
0071 
0072 IF "%C2WINSTALL_TEMP%"=="" (
0073         set C2WINSTALL_TEMP=%~dp0..\c2winstaller-temp
0074 )
0075 
0076 IF "%C2WINSTALL_INPUT%"=="" (
0077         set C2WINSTALL_INPUT=%~dp0..\c2winstaller-input
0078 )
0079 
0080 IF "%C2WINSTALL_OUTPUT%"=="" (
0081         set C2WINSTALL_OUTPUT=%~dp0..\c2winstaller-output
0082 )
0083 
0084 IF "%CALLIGRA_INST%"=="" (
0085         set CALLIGRA_INST=%~dp0..\kde4\inst
0086 )
0087 
0088 IF "%KDEROOT%"=="" (
0089         set KDEROOT=%~dp0..\kderoot
0090 )
0091 
0092 IF "%C2WINSTALL_INSTALLER_SUFFIX%"=="" (
0093         set C2WINSTALL_INSTALLER_SUFFIX=_
0094 )
0095 
0096 SET PATH=%C2WINSTALL_WIX_BIN%;%PATH%