source: trunk/tools/installer/batch/env.bat@ 598

Last change on this file since 598 was 561, checked in by Dmitry A. Kuminov, 15 years ago

trunk: Merged in qt 4.6.1 sources.

  • Property svn:executable set to *
File size: 3.9 KB
Line 
1:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2::
3:: Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
4:: All rights reserved.
5:: Contact: Nokia Corporation (qt-info@nokia.com)
6::
7:: This file is part of the tools applications of the Qt Toolkit.
8::
9:: $QT_BEGIN_LICENSE:LGPL$
10:: Commercial Usage
11:: Licensees holding valid Qt Commercial licenses may use this file in
12:: accordance with the Qt Commercial License Agreement provided with the
13:: Software or, alternatively, in accordance with the terms contained in
14:: a written agreement between you and Nokia.
15::
16:: GNU Lesser General Public License Usage
17:: Alternatively, this file may be used under the terms of the GNU Lesser
18:: General Public License version 2.1 as published by the Free Software
19:: Foundation and appearing in the file LICENSE.LGPL included in the
20:: packaging of this file. Please review the following information to
21:: ensure the GNU Lesser General Public License version 2.1 requirements
22:: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
23::
24:: In addition, as a special exception, Nokia gives you certain additional
25:: rights. These rights are described in the Nokia Qt LGPL Exception
26:: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
27::
28:: GNU General Public License Usage
29:: Alternatively, this file may be used under the terms of the GNU
30:: General Public License version 3.0 as published by the Free Software
31:: Foundation and appearing in the file LICENSE.GPL included in the
32:: packaging of this file. Please review the following information to
33:: ensure the GNU General Public License version 3.0 requirements will be
34:: met: http://www.gnu.org/copyleft/gpl.html.
35::
36:: If you have questions regarding the use of this file, please contact
37:: Nokia at qt-info@nokia.com.
38:: $QT_END_LICENSE$
39::
40:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
41call :%1 %2
42goto END
43
44:setglobals
45set IWMAKE_PARSESECTION=1
46set IWMAKE_MINGWPATH=c:\MinGW\bin
47set IWMAKE_STARTDIR=%CD%
48set IWMAKE_NSISCONF=%IWMAKE_SCRIPTDIR%\nsis\config.nsh
49set IWMAKE_ROOT=c:\package
50set IWMAKE_OUTDIR=%IWMAKE_ROOT%
51set IWMAKE_SRCDIR=%IWMAKE_ROOT%
52set IWMAKE_EXTRACTDEST=%IWMAKE_ROOT%
53set IWMAKE_NSISPATH=%PROGRAMFILES%\NSIS
54call %IWMAKE_SCRIPTDIR%\batch\log.bat fileAbs "%IWMAKE_STARTDIR%\log.txt"
55goto :eof
56
57:signPath
58 set IWMAKE_SIGNPATH=%~1
59goto :eof
60
61:wgetPath
62 set IWMAKE_WGET=%~1
63goto :eof
64
65:wgetDir
66 set IWMAKE_WGET=%IWMAKE_ROOT%\%~1
67goto :eof
68
69:NSISPath
70 set IWMAKE_NSISPATH=%~1
71goto :eof
72
73:PerlPath
74 set IWMAKE_PERLPATH=%~1
75goto :eof
76
77:MinGWPath
78 set IWMAKE_MINGWPATH=%~1
79goto :eof
80
81:unzipApp
82 set IWMAKE_UNZIPAPP=%~1
83goto :eof
84
85:releaseLocation
86 set IWMAKE_WGETUSER=
87 set IWMAKE_WGETPASS=
88 for /F "tokens=1,2*" %%m in ("%~1") do set IWMAKE_TMP=%%~m& if not "%%~n"=="" set IWMAKE_TMP2=%%~n& if not "%%~o"=="" set IWMAKE_TMP3=%%~o
89 if not "%IWMAKE_TMP2%"=="" set IWMAKE_WGETUSER=--http-user=%IWMAKE_TMP2%
90 if not "%IWMAKE_TMP3%"=="" set IWMAKE_WGETPASS=--http-passwd=%IWMAKE_TMP3%
91 set IWMAKE_RELEASELOCATION=%IWMAKE_TMP%
92goto :eof
93
94:removeglobals
95if not "%IWMAKE_OLD_PATH%"=="" call %IWMAKE_SCRIPTDIR%\batch\build.bat finish
96set IWMAKE_RELEASELOCATION=
97set IWMAKE_NSISPATH=
98set IWMAKE_SECTION=
99set IWMAKE_WGET=
100set IWMAKE_WGETUSER=
101set IWMAKE_WGETPASS=
102set IWMAKE_UNZIPAPP=
103set IWMAKE_MINGWPATH=
104set IWMAKE_MAKE=
105set IWMAKE_PERLPATH=
106set IWMAKE_STARTDIR=
107set IWMAKE_SCRIPTDIR=
108set IWMAKE_NSISCONF=
109set IWMAKE_RESULT=
110set IWMAKE_TMP=
111set IWMAKE_TMP2=
112set IWMAKE_TMP3=
113set IWMAKE_STATUS=
114set IWMAKE_LOGFILE=
115set IWMAKE_BUILD=
116set IWMAKE_ROOT=
117set IWMAKE_OUTDIR=
118set IWMAKE_EXTERNAL=
119set IWMAKE_OLD_PATH=
120set IWMAKE_OLD_QMAKESPEC=
121set IWMAKE_OLD_QTDIR=
122set IWMAKE_OLD_INCLUDE=
123set IWMAKE_OLD_LIB=
124set IWMAKE_COMPILER=
125set IWMAKE_SRCDIR=
126set IWMAKE_EXTRACTSRC=
127set IWMAKE_EXTRACTDEST=
128set IWMAKE_PARSESECTION=
129set IWMAKE_OUTPUT_FILE=
130set IWMAKE_SIGNPATH=
131goto :eof
132
133:root
134set IWMAKE_ROOT=%~1
135goto :eof
136
137:extroot
138set IWMAKE_EXTERNAL=%~1
139goto :eof
140
141:END
Note: See TracBrowser for help on using the repository browser.