Update of /cvsroot/pure-data/pd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28106
Modified Files: Tag: devel_0_38 SConstruct Log Message: scons update
Index: SConstruct =================================================================== RCS file: /cvsroot/pure-data/pd/Attic/SConstruct,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** SConstruct 18 Jun 2005 18:48:31 -0000 1.1.2.1 --- SConstruct 19 Jun 2005 11:10:39 -0000 1.1.2.2 *************** *** 1,5 **** env = Environment()
Export("env")
! SConscript('./src/SConscript') --- 1,42 ---- env = Environment()
+ + + ###################################################################### + # + # general configuration + + opt = Options(['options.cache', 'custom.py']) + opt.AddOptions( + ('prefix', 'install prefix', '/usr/local') + ) + + opt.Update(env) + + opt.Save('options.cache',env) + Export("env")
! ##Help(opt.GenerateHelpText(env)) ! ! pdwatchdog, pdsend, pdreceive, pdgui, pd, pdlib = SConscript('./src/SConscript') ! ! ! ###################################################################### ! # ! # installing stuff ! ! ! prefix = env['prefix'] ! ! if env['PLATFORM'] == 'posix': ! env.Install(prefix+'/bin', pdsend) ! env.Install(prefix+'/bin', pdreceive) ! env.Install(prefix+'/bin', pd) ! env.Install(prefix+'/lib/pd/bin', pdgui) ! env.Install(prefix+'/lib/pd/bin', pdwatchdog) ! pdenv.InstallAs(prefix + '/lib/pd/bin/pd.tk','u_main.tk') ! ! env.Install(prefix+'/lib', pdlib) ! ! env.Alias('install', prefix)