| 1 |
+ |
from __future__ import division, print_function, unicode_literals |
| 2 |
+ |
|
| 3 |
|
import os |
| 4 |
|
|
| 5 |
|
Import('env') # inherit from parent |
| 74 |
|
LIBS=['rgl','rtrad','GL', 'GLU','X11'] + mlib,) |
| 75 |
|
progs.append(glrad) |
| 76 |
|
|
| 77 |
< |
if os.name == 'posix': # XXX ignoring trad.wsh |
| 77 |
> |
pyscripts = Split('''rlux''') |
| 78 |
> |
if os.name == 'posix': |
| 79 |
|
for s in Split('''objline glare dayfact |
| 80 |
< |
debugcal rlux raddepend compamb vinfo fieldcomb'''): |
| 80 |
> |
debugcal raddepend compamb vinfo fieldcomb'''): |
| 81 |
|
Default(env.InstallScript(radbin(s), s + '.csh')) |
| 82 |
|
for s in Split('''objview objpict |
| 83 |
< |
genambpos genklemsamp genskyvec genBSDF ltview ltpict'''): |
| 83 |
> |
genambpos genklemsamp genskyvec genBSDF bsdfview ltview ltpict'''): |
| 84 |
|
Default(env.InstallScript(radbin(s), s + '.pl')) |
| 85 |
|
for s in Split('''do_action.tcl do_file.tcl do_options.tcl do_results.tcl |
| 86 |
|
do_scene.tcl do_views.tcl do_zone.tcl file.hlp getfile.tcl gethelp.tcl |
| 87 |
|
help.hlp tclIndex trad.hlp trad.icon util.tcl'''): |
| 88 |
|
Default(env.InstallScript(tclscr(s), s)) |
| 89 |
|
Default(env.InstallTCLScript(radbin('trad'), 'trad.wsh')) |
| 90 |
+ |
for s in pyscripts: |
| 91 |
+ |
Default(env.InstallScript(radbin(s), s + '.py')) |
| 92 |
+ |
else: |
| 93 |
+ |
for s in pyscripts: |
| 94 |
+ |
Default(env.InstallScript(radbin(s + '.py'), s + '.py')) |
| 95 |
|
|
| 88 |
– |
# Those don't really work yet |
| 89 |
– |
#else: |
| 90 |
– |
# for s in Split('''objview glare rlux '''): |
| 91 |
– |
# prog = env.Program(target=radbin(s), source=s+'.c') |
| 92 |
– |
# progs.append(prog) |
| 96 |
|
|
| 97 |
|
Default('#src/util') |
| 98 |
|
env.Install('$RAD_BINDIR', progs) |
| 99 |
|
|
| 100 |
|
# vim: set syntax=python: |
| 101 |
+ |
# vi: set ts=4 sw=4 : |