diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-27 22:58:41 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-27 22:58:41 -0600 |
| commit | f7fa09d48f7f1d6e271ddf9a6d8e7da9a3545e9f (patch) | |
| tree | 0cb130b0238a65c84710317eef0f3c98e2832484 /bksys/help.py | |
| parent | 2c82d91b8c5ac4b7b5813a8c09b130e12180974c (diff) | |
| download | abakus-f7fa09d48f7f1d6e271ddf9a6d8e7da9a3545e9f.tar.gz abakus-f7fa09d48f7f1d6e271ddf9a6d8e7da9a3545e9f.zip | |
Cleanup
Diffstat (limited to 'bksys/help.py')
| -rw-r--r-- | bksys/help.py | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/bksys/help.py b/bksys/help.py deleted file mode 100644 index 5cb6281..0000000 --- a/bksys/help.py +++ /dev/null @@ -1,43 +0,0 @@ -## Thomas Nagy, 2005 - -""" -Detect and store the most common options -* kdecxxflags : debug=1 (-g) or debug=full (-g3, slower) - else use the user CXXFLAGS if any, - or -O2 by default -* prefix : the installation path -* extraincludes : a list of paths separated by ':' -ie: scons configure debug=full prefix=/usr/local extraincludes=/tmp/include:/usr/local -""" - -BOLD ="\033[1m" -RED ="\033[91m" -GREEN ="\033[92m" -YELLOW ="\033[1m" #"\033[93m" # unreadable on white backgrounds -CYAN ="\033[96m" -NORMAL ="\033[0m" - -def exists(env): - return true - -def generate(env): - ## Bksys requires scons 0.96 - env.EnsureSConsVersion(0, 96) - - env._help = '' - - def addHelpText(env, text): - env._help = env._help + text - - def helpText(env): - text = env._help.replace(']', NORMAL) - text = text.replace('b[', BOLD) - text = text.replace('g[', GREEN) - text = text.replace('r[', RED) - text = text.replace('y[', YELLOW) - text = text.replace('c[', CYAN) - - return text - - from SCons.Script.SConscript import SConsEnvironment - SConsEnvironment.addHelpText = addHelpText - SConsEnvironment.helpText = helpText |
