Changeset 2501 for trunk/SConstruct
- Timestamp:
- 05/11/12 15:31:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r2487 r2501 90 90 EnumVariable("mode", "The type of build.", "release", 91 91 ["release","debug"], ignorecase=1), 92 ("makedist",93 "Make a binary archive giving a suffix, e.g. sarge or fc5",94 ""),95 92 EnumVariable("makedoc", "Build the userguide in specified format", 96 93 "none", … … 215 212 env.AddPostAction(so, taction) 216 213 217 # Need this to make makedi tswork214 # Need this to make makedist work 218 215 dummy = env.Install() 219 216 env.Alias('install', dummy) 220 217 221 218 # 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") 219 env["stagedir"] = "asap-%s" % (env["version"]) 220 env.Command('Staging distribution for archive in %s' % env["stagedir"], 221 '', env.MessageAction) 222 env.QInstall("$stagedir/asap", [so, env.SGlob("python/*.py")] ) 223 env.QInstall("$stagedir/bin", ["bin/asap", "bin/asap_update_data"]) 224 env.QInstall("$stagedir", ["packaging/setup.py"]) 225 env.QInstall("$stagedir/debian", env.SGlob("packaging/debian/*") ) 232 226 233 227 if env["apps"]:
Note:
See TracChangeset
for help on using the changeset viewer.