Ticket #68: pythondir_destdir_fix.diff

File pythondir_destdir_fix.diff, 0.8 kB (added by slack, 4 years ago)
  • ./support/mixer/SConscript

    old new  
    3131 
    3232        e['MIXERAPPS'] = [ 'phase24', 'phase88', 'saffirepro', 'saffire', 'af2', 'bcoaudio5', 'edirolfa66', 'mackie_generic' ] 
    3333        e['PYTHONDIR'] = Template( os.path.join( e['SHAREDIR'], 'python' ) ).safe_substitute( e ) 
     34        e['pythondir'] = Template( os.path.join( e['sharedir'], 'python' ) ).safe_substitute( e ) 
    3435 
    3536        for m in e['MIXERAPPS']: 
    3637                app = "mixer_" + m 
    3738                if os.path.exists( app+".ui" ): 
    3839                        e.PyUIC( source=app+".ui", target=app+"ui.py" ) 
    39                         e.Install( "$PYTHONDIR", app+"ui.py" ) 
    40                 e.Install( "$PYTHONDIR", app+".py" ) 
     40                        e.Install( "$pythondir", app+"ui.py" ) 
     41                e.Install( "$pythondir", app+".py" ) 
    4142 
    4243        e.ScanReplace( "ffadomixer.in" ) 
    4344        e.Depends( "ffadomixer", "SConscript" )