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

Last change on this file since 317 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

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