Changeset 3550
- Timestamp:
- Sep 8, 2006, 4:59:58 PM (18 years ago)
- Location:
- anuga_core
- Files:
-
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/SConstruct
r3549 r3550 106 106 files = [] 107 107 #dirs = filter(os.path.isdir, os.listdir('.')) 108 #Only build the anuga_core/source/anuga directory for now109 dirs = [os.path.join(' anuga_core', 'source', 'anuga')]108 #Only build the source/anuga directory for now 109 dirs = [os.path.join('source', 'anuga')] 110 110 while(dirs != []): 111 111 dirs += filter(os.path.isdir, map(lambda x : os.path.join(dirs[0], x), os.listdir(dirs[0]))) … … 115 115 env.Pyc(x + 'c', x) 116 116 env.Pyo(x + 'o', x) 117 # We have to cut the first character off the result of os.path.dirname(x).replace( os.path.join('anuga_core, 'source'), '')117 # We have to cut the first character off the result of os.path.dirname(x).replace('anuga_core, '') 118 118 # or else we will start taking paths relative to the root directory. 119 instdir = os.path.join(env['PREFIX'], os.path.dirname(x).replace( os.path.join('anuga_core', 'source'), '')[1:])119 instdir = os.path.join(env['PREFIX'], os.path.dirname(x).replace('source', '')[1:]) 120 120 env.Install(instdir, x + 'c') 121 121 env.Install(instdir, x + 'o') … … 125 125 env.Alias('install', '${PREFIX}') 126 126 127 SConscript([' anuga_core/source/anuga/SConscript'])127 SConscript(['source/anuga/SConscript']) -
anuga_core/source/anuga/pyvolution/SConscript
r3546 r3550 2 2 Import('env') 3 3 env2 = env.Copy() 4 env2.Append(CPPPATH=['# anuga_core/source/anuga/utilities'])4 env2.Append(CPPPATH=['#source/anuga/utilities']) 5 5 6 6 instdir = os.path.join(env['PREFIX'], 'anuga', 'pyvolution')
Note: See TracChangeset
for help on using the changeset viewer.