Changeset 1067

Show
Ignore:
Timestamp:
04/29/08 05:21:45 (13 years ago)
Author:
ppalmers
Message:

try and fix SVN version tracking

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/SConstruct

    r1060 r1067  
    425425env.ScanReplace( "config.h.in" ) 
    426426# ensure that the config.h is updated with the version 
     427 
    427428env.Depends( "config.h", "SConstruct" ) 
    428429env.Depends( "config.h", 'cache/' + build_base + "options.cache" ) 
     430 
     431# always build config.h such that calculated options (svn version) are used 
     432# basically identical to making the config.h dependent on 'env' 
     433# if there are no changes in env, the config.h will contain the 
     434# same, and nothing is rebuilt. 
     435env.AlwaysBuild( "config.h" ) 
    429436 
    430437env.Depends( "libffado.pc", "SConstruct" ) 
  • trunk/libffado/support/mixer/SConscript

    r1062 r1067  
    5959 
    6060    e.ScanReplace( "ffadomixer_config.py.in" ) 
    61     e.Depends( "ffadomixer_config.py", "#/SConstruct" ) 
     61    e.Depends( "ffadomixer_config.py", "#/config.h" ) 
    6262    e.Install( "$pythondir", "ffadomixer_config.py" ) 
    6363 
    6464    e.ScanReplace( "ffadomixer.in" ) 
    65     e.Depends( "ffadomixer", "#/SConstruct" ) 
     65    e.Depends( "ffadomixer", "#/config.h" ) 
    6666    e.Depends( "ffadomixer", "SConscript" ) 
    6767    e.Install( "$bindir", "ffadomixer" )