Changeset 2501 for trunk/SConstruct


Ignore:
Timestamp:
05/11/12 15:31:16 (13 years ago)
Author:
Malte Marquarding
Message:

implicitly call staging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r2487 r2501  
    9090                EnumVariable("mode", "The type of build.", "release",
    9191                           ["release","debug"], ignorecase=1),
    92                 ("makedist",
    93                  "Make a binary archive giving a suffix, e.g. sarge or fc5",
    94                  ""),
    9592                EnumVariable("makedoc", "Build the userguide in specified format",
    9693                           "none",
     
    215212env.AddPostAction(so, taction)
    216213
    217 # Need this to make makedits work
     214# Need this to make makedist work
    218215dummy = env.Install()
    219216env.Alias('install', dummy)
    220217
    221218# make binary distribution
    222 if len(env["makedist"]):
    223     env["stagedir"] = "asap-%s" % (env["version"])
    224     env.Command('Staging distribution for archive in %s' % env["stagedir"],
    225                 '', env.MessageAction)
    226     env.QInstall("$stagedir/asap", [so,  env.SGlob("python/*.py")] )
    227     env.QInstall("$stagedir/bin", ["bin/asap", "bin/asap_update_data"])
    228     env.QInstall("$stagedir", ["packaging/setup.py"])
    229     env.QInstall("$stagedir/debian", env.SGlob("packaging/debian/*") )
    230     env.QInstall("$stagedir/asap/data", "share/ipythonrc-asap")
    231     env.QInstall("$stagedir/asap/data", "share/ipy_user_conf.py")
     219env["stagedir"] = "asap-%s" % (env["version"])
     220env.Command('Staging distribution for archive in %s' % env["stagedir"],
     221            '', env.MessageAction)
     222env.QInstall("$stagedir/asap", [so,  env.SGlob("python/*.py")] )
     223env.QInstall("$stagedir/bin", ["bin/asap", "bin/asap_update_data"])
     224env.QInstall("$stagedir", ["packaging/setup.py"])
     225env.QInstall("$stagedir/debian", env.SGlob("packaging/debian/*") )
    232226
    233227if env["apps"]:
Note: See TracChangeset for help on using the changeset viewer.