Changeset 721 for packaging

Timestamp:
Apr 30, 2010, 10:12:02 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

packaging: Added -B -D and -W command line options to make_packages.cmd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packaging/make_packages.cmd

    r544 r721  
    4141G.Continue      = 0
    4242G.SkipConfigure = 0
     43
     44
    4345G.SkipInstall   = 0
     46
    4447G.QtBuildDate   = ''
    4548
     
    232235    end
    233236
     237
     238
     239
     240
     241
     242
     243
     244
     245
     246
     247
     248
     249
     250
     251
     252
     253
     254
     255
     256
     257
     258
    234259    /* fake-install Qt to gather everything for distribution */
    235260
     
    245270        call SayWrn '...skipped'
    246271
    247     /* make install actually recreates the full directory tree in INSTALL_ROOT,
     272    /* make install recreates the full directory tree in INSTALL_ROOT,
    248273     * get the real install root that points directly to the installed Qt tree */
    249274    G.QtInstDir = G.QtInstDir||filespec('P', G.QtBuildDir)||filespec('N', G.QtBuildDir)
    250275
    251276    call SaySay 'Adjusted install directory to "'G.QtInstDir'"'
    252 
    253     /* generate the proper qt.conf for the distribution */
    254277
    255278    /* Set up common environment */
     
    268291    call SetEnv 'ZIP_ROOT', G.OutDirZip
    269292
    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'
    273301
    274302    call SaySay G.ScriptFile": END"
     
    371399                when (o == 'c') then G.Continue = 1
    372400                when (o == 'C') then G.SkipConfigure = 1
     401
     402
    373403                when (o == 'I') then G.SkipInstall = 1
     404
    374405                when (o == '-date-override') then do
    375406                    i = i + 1
     
    402433    drop G.opts.0
    403434
    404     if (G.QtBuildDir == '' | G.QtBuildRev == '' | G.QtBuildName == '' |,
    405         G.OutDir == '') then
     435    if (G.QtBuildDir == '' | G.QtBuildRev == '' | G.OutDir == '') then
    406436        call Usage
    407437
     
    436466    say
    437467    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'
    440473
    441474    call Done 0
Note: See TracChangeset for help on using the changeset viewer.