Changeset 3550


Ignore:
Timestamp:
Sep 8, 2006, 4:59:58 PM (18 years ago)
Author:
jack
Message:

Move the SConstruct file into the anuga_core directory.

Location:
anuga_core
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • anuga_core/SConstruct

    r3549 r3550  
    106106files = []
    107107#dirs = filter(os.path.isdir, os.listdir('.'))
    108 #Only build the anuga_core/source/anuga directory for now
    109 dirs = [os.path.join('anuga_core', 'source', 'anuga')]
     108#Only build the source/anuga directory for now
     109dirs = [os.path.join('source', 'anuga')]
    110110while(dirs != []):
    111111    dirs += filter(os.path.isdir, map(lambda x : os.path.join(dirs[0], x), os.listdir(dirs[0])))
     
    115115    env.Pyc(x + 'c', x)
    116116    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, '')
    118118    # 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:])
    120120    env.Install(instdir, x + 'c')
    121121    env.Install(instdir, x + 'o')
     
    125125env.Alias('install', '${PREFIX}')
    126126   
    127 SConscript(['anuga_core/source/anuga/SConscript'])
     127SConscript(['source/anuga/SConscript'])
  • anuga_core/source/anuga/pyvolution/SConscript

    r3546 r3550  
    22Import('env')
    33env2 = env.Copy()
    4 env2.Append(CPPPATH=['#anuga_core/source/anuga/utilities'])
     4env2.Append(CPPPATH=['#source/anuga/utilities'])
    55
    66instdir = os.path.join(env['PREFIX'], 'anuga', 'pyvolution')
Note: See TracChangeset for help on using the changeset viewer.