From bafe5e6d6386f40f254b5da752545b5f9f41d316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 28 Nov 2009 10:23:02 +0100 Subject: Prettify install commands. diff --git a/3rdParty/SCons/scons-local/SCons/Tool/install.py b/3rdParty/SCons/scons-local/SCons/Tool/install.py index 3680b53..9596db1 100644 --- a/3rdParty/SCons/scons-local/SCons/Tool/install.py +++ b/3rdParty/SCons/scons-local/SCons/Tool/install.py @@ -86,7 +86,7 @@ def installFunc(target, source, env): def stringFunc(target, source, env): installstr = env.get('INSTALLSTR') if installstr: - return env.subst_target_source(installstr, 0, target, source) + return env.subst_target_source(installstr, 1, target, source) target = str(target[0]) source = str(source[0]) if os.path.isdir(source): diff --git a/SConstruct b/SConstruct index 121df77..799929d 100644 --- a/SConstruct +++ b/SConstruct @@ -153,6 +153,7 @@ if int(ARGUMENTS.get("V", 0)) == 0: env["BUNDLECOMSTR"] = colorize("BUNDLE", "$TARGET", "blue") env["NIBCOMSTR"] = colorize("NIB", "$TARGET", "blue") env["NSISCOMSTR"] = colorize("NSIS", "$TARGET", "blue") + env["INSTALLSTR"] = colorize("INSTALL", "$TARGET", "blue") env["TESTCOMSTR"] = colorize("TEST", "$SOURCE", "yellow") #Progress(colorize("DEP", "$TARGET", "red") -- cgit v0.10.2-6-g49f6