diff options
author | Jan Nieuwenhuizen <janneke@gnu.org> | 2004-07-17 10:52:59 +0000 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2004-07-17 10:52:59 +0000 |
commit | 29d0c4b33b7bc6434d32d735358b8768e965c117 (patch) | |
tree | a96923a019cf6b6db4238e171ec23e4f575a6439 /SConstruct | |
parent | b89a7d77e2bb3355e554902ee68b203eee60c503 (diff) |
(web_kluts): Have make web build in out-www. Not.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index ce0c124439..d40237410e 100644 --- a/SConstruct +++ b/SConstruct @@ -184,6 +184,14 @@ if env['checksums']: SetOption ('max_drift', 0) TargetSignatures ("content") +# build web in out-www, so that scons is a drop-in replacement for make +# we can revise the entire web building when web is built with scons. +web_kluts = '' +# Hmm: scons: *** maximum recursion limit exceeded +if 0 and 'web' in COMMAND_LINE_TARGETS: + web_kluts = 'out-scons' #env['out'] + env['out'] = 'out-www' + absbuild = Dir (env['build']).abspath outdir = os.path.join (Dir (env['build']).abspath, env['out']) run_prefix = os.path.join (absbuild, os.path.join (env['out'], 'usr')) @@ -771,5 +779,9 @@ for d in subdirs: # and ./out build. if os.path.abspath (b) != os.path.abspath (d): env.BuildDir (b, d, duplicate = 0) + if web_kluts: + # look in out-scons + env.Repository (os.path.join (env['build'], d, + web_kluts)) SConscript (os.path.join (b, 'SConscript')) |