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 31 31 32 32 e['MIXERAPPS'] = [ 'phase24', 'phase88', 'saffirepro', 'saffire', 'af2', 'bcoaudio5', 'edirolfa66', 'mackie_generic' ] 33 33 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 ) 34 35 35 36 for m in e['MIXERAPPS']: 36 37 app = "mixer_" + m 37 38 if os.path.exists( app+".ui" ): 38 39 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" ) 41 42 42 43 e.ScanReplace( "ffadomixer.in" ) 43 44 e.Depends( "ffadomixer", "SConscript" )
