Show
Ignore:
Timestamp:
09/03/07 03:15:46 (15 years ago)
Author:
arnonym
Message:

Build and install the bebob-tools only when bebob is enabled.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/SConscript

    r609 r614  
    231231 
    232232apps = { \ 
    233         "bridgeco-downloader": "bridgeco-downloader.cpp", \ 
    234         "bebob-sync" : "bebob-sync.cpp", \ 
    235233        "test-debugmodule" : "debugmodule/test_debugmodule.cpp", \ 
    236234        "test-dll" : "libutil/test-dll.cpp", \ 
     
    239237} 
    240238 
     239installapps = [] 
     240 
     241if env['ENABLE_BEBOB']: 
     242        apps["bebob-sync"] = "bebob-sync.cpp" 
     243        apps["bridgeco-downloader"] = "bridgeco-downloader.cpp" 
     244        installapps += [ "bebob-sync", "bridgeco-downloader" ] 
     245 
     246 
    241247for app in apps.keys(): 
    242248        env2.Program( target=app, source = env.Split( apps[app] ) ) 
    243  
    244 env2.Install( "$bindir", ["bebob-sync","bridgeco-downloader"]
    245  
     249        if app.find( "test" ) == -1: 
     250               env2.Install( "$bindir", app
     251