ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/makeall
(Generate patch)

Comparing ray/makeall (file contents):
Revision 1.9 by schorsch, Sat Aug 30 08:22:47 2003 UTC vs.
Revision 1.10 by greg, Tue Nov 25 18:23:11 2003 UTC

# Line 72 | Line 72 | if ( ! -d $idir/dev ) then
72                  goto again1
73          endif
74   endif
75 + set inpath=0
76 + foreach i ( $path )
77 +        if ( "$i" == "$idir" ) then
78 +                set inpath=1
79 +                break
80 +        endif
81 + end
82   set rmake=$idir/rmake
83   if ( "`ls -tL $rmake $0 |& head -1`" == $rmake ) then
84          goto gotrmake
# Line 283 | Line 290 | else
290          echo "Done."
291   endif
292   cd ..
293 + if (! $inpath ) then
294 +        echo ""
295 +        echo "Add $idir to the beginning of your execution path:"
296 +        echo 'For C-shell users, put the following into ~/.cshrc'
297 +        echo "  set path=( $idir "'$path )'
298 +        echo 'For Bourne shell users, put the following into $HOME/profile'
299 +        echo "  PATH=$idir"':$PATH'
300 +        echo "  export PATH"
301 + endif
302   if (! -d /usr/tmp) then
303          ln -s /tmp /usr/tmp
304          if ($status) then
305                  echo ""
306                  echo "IMPORTANT: Execute 'sudo ln -s /tmp /usr/tmp'"
291                echo ""
307          endif
308   endif
309   else
# Line 299 | Line 314 | foreach i ( $srcdirs )
314          make -f Rmakefile $*
315          popd
316   end
302 echo "Done."
317   cd ..
304 endif
318   foreach i ( $* )
319          if ( "$i" == clean ) then
320                  echo "Removing library archives..."
321                  rm -f src/lib/*.[ao]
322          endif
323   end
324 + echo "Done."
325 + endif
326   exit 0

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines