Changeset 721
- Timestamp:
- Apr 30, 2010, 10:12:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
packaging/make_packages.cmd
r544 r721 41 41 G.Continue = 0 42 42 G.SkipConfigure = 0 43 G.SkipBuild = 0 44 G.SkipBuildDocs = 0 43 45 G.SkipInstall = 0 46 G.SkipWPI = 0 44 47 G.QtBuildDate = '' 45 48 … … 232 235 end 233 236 237 /* build Qt */ 238 239 call SaySay 'Building Qt in "'G.QtBuildDir'"...' 240 241 if (\G.SkipBuild) then do 242 if (Exec('make', G.QtBuildDir, '>'G.LogFile) \= 0) then 243 call Done 1 244 end 245 else 246 call SayWrn '...skipped' 247 248 /* build Qt docs */ 249 250 call SaySay 'Building Qt documentation in "'G.QtBuildDir'"...' 251 252 if (\G.SkipBuildDocs) then do 253 if (Exec('make docs', G.QtBuildDir, '>'G.LogFile) \= 0) then 254 call Done 1 255 end 256 else 257 call SayWrn '...skipped' 258 234 259 /* fake-install Qt to gather everything for distribution */ 235 260 … … 245 270 call SayWrn '...skipped' 246 271 247 /* make install actuallyrecreates the full directory tree in INSTALL_ROOT,272 /* make install recreates the full directory tree in INSTALL_ROOT, 248 273 * get the real install root that points directly to the installed Qt tree */ 249 274 G.QtInstDir = G.QtInstDir||filespec('P', G.QtBuildDir)||filespec('N', G.QtBuildDir) 250 275 251 276 call SaySay 'Adjusted install directory to "'G.QtInstDir'"' 252 253 /* generate the proper qt.conf for the distribution */254 277 255 278 /* Set up common environment */ … … 268 291 call SetEnv 'ZIP_ROOT', G.OutDirZip 269 292 270 /* Do the rest */ 271 272 call CreateAllWPI 293 /* Create WPI archives */ 294 295 call SaySay 'Creating WPI archives in "'G.OutDirWpi'"...' 296 if (\G.SkipWPI) then do 297 call CreateAllWPI 298 end 299 else 300 call SayWrn '...skipped' 273 301 274 302 call SaySay G.ScriptFile": END" … … 371 399 when (o == 'c') then G.Continue = 1 372 400 when (o == 'C') then G.SkipConfigure = 1 401 when (o == 'B') then G.SkipBuild = 1 402 when (o == 'D') then G.SkipBuildDocs = 1 373 403 when (o == 'I') then G.SkipInstall = 1 404 when (o == 'W') then G.SkipWPI = 1 374 405 when (o == '-date-override') then do 375 406 i = i + 1 … … 402 433 drop G.opts.0 403 434 404 if (G.QtBuildDir == '' | G.QtBuildRev == '' | G.QtBuildName == '' |, 405 G.OutDir == '') then 435 if (G.QtBuildDir == '' | G.QtBuildRev == '' | G.OutDir == '') then 406 436 call Usage 407 437 … … 436 466 say 437 467 say ' -c : Continue a failed packaging process' 438 say ' -C : Skip configuring the Qt build' 439 say ' -I : Skip fake-installing the Qt build' 468 say ' -C : Skip the configure stage' 469 say ' -B : Skip the build stage' 470 say ' -D : Skip the build documentation stage' 471 say ' -I : Skip the fake-install stage' 472 say ' -W : Skip creation of the WPI archives' 440 473 441 474 call Done 0
Note:
See TracChangeset
for help on using the changeset viewer.