1 |
|
|
2 |
– |
# Notes to people who come after: |
3 |
– |
# |
4 |
– |
# In general, only use '/' as a path separator in *nix-specific code, use |
5 |
– |
# os.path.join() for everythign else |
6 |
– |
|
2 |
|
import os |
3 |
|
import sys |
4 |
|
import string |
12 |
|
opts.Add('RAD_BINDIR', 'Install executables here', env['RAD_BINDIR']) |
13 |
|
opts.Add('RAD_RLIBDIR', 'Install support files here', env['RAD_RLIBDIR']) |
14 |
|
opts.Add('RAD_MANDIR', 'Install man pages here', env['RAD_MANDIR']) |
15 |
+ |
opts.Add('RAD_DEBUG', 'Build a debug version', 0) |
16 |
|
opts.Update(env) |
17 |
|
opts.Save(OPTFILE, env) |
18 |
|
Help(opts.GenerateHelpText(env, sort=cmp)) |
47 |
|
|
48 |
|
# configure platform-specific stuff |
49 |
|
from build_utils import load_plat |
50 |
< |
load_plat.load_plat(env, platform=None) |
50 |
> |
load_plat.load_plat(env, ARGUMENTS, platform=None) |
51 |
|
|
52 |
|
# override options |
53 |
|
set_opts(env) |
89 |
|
# px_special -> ra_im, t4027, paintjet, mt160t, greyscale, colorscale, d48c |
90 |
|
# px_special_install |
91 |
|
|
92 |
< |
# util_special -> scanner, makedist |
92 |
> |
# util_special -> scanner, makedist (not for Windows yet) |
93 |
|
# util_special_install |
94 |
+ |
|
95 |
|
|