Show
Ignore:
Timestamp:
01/19/08 11:50:42 (16 years ago)
Author:
arnonym
Message:

More on #68: Install the python-stuff to the destdir too.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/support/mixer/SConscript

    r853 r861  
    3131 
    3232        e['MIXERAPPS'] = [ 'phase24', 'phase88', 'saffirepro', 'saffire', 'af2', 'bcoaudio5', 'edirolfa66', 'mackie_generic' ] 
     33        # 
     34        # For the ffadomixer.in 
    3335        e['PYTHONDIR'] = Template( os.path.join( e['SHAREDIR'], 'python' ) ).safe_substitute( e ) 
     36        # For the installation of the stuff 
     37        e['pythondir'] = Template( os.path.join( e['sharedir'], 'python' ) ).safe_substitute( e ) 
    3438 
    3539        for m in e['MIXERAPPS']: 
     
    3741                if os.path.exists( app+".ui" ): 
    3842                        e.PyUIC( source=app+".ui", target=app+"ui.py" ) 
    39                         e.Install( "$PYTHONDIR", app+"ui.py" ) 
    40                 e.Install( "$PYTHONDIR", app+".py" ) 
     43                        e.Install( "$pythondir", app+"ui.py" ) 
     44                e.Install( "$pythondir", app+".py" ) 
    4145 
    4246        e.ScanReplace( "ffadomixer.in" )