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.12 by greg, Sat Oct 30 04:59:40 2004 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
85   endif
86   set newrmake
87 < goto skiplicense
81 < cat << _EOF_
82 <
83 <                     RADIANCE LICENSE AGREEMENT
84 <
85 < Radiance is a registered copyright of The Regents of the University of
86 < California ("The Regents"). The Regents grant to you a nonexclusive,
87 < nontransferable license ("License") to use Radiance source code without
88 < fee.  You may not sell or distribute Radiance to others without the
89 < prior express written permission of The Regents.  You may compile and
90 < use this software on any machines to which you have personal access,
91 < and may share its use with others who have access to the same machines.
92 <
93 < NEITHER THE UNITED STATES NOR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY
94 < OF THEIR EMPLOYEES, MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY
95 < LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS
96 < OF ANY INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS
97 < THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS.  By downloading, using
98 < or copying this software, you agree to abide by the intellectual property laws
99 < and all other applicable laws of the United States, and by the terms of this
100 < License Agreement. Ownership of the software shall remain solely in The
101 < Regents.  The Regents shall have the right to terminate this License
102 < immediately by written notice upon your breach of, or noncompliance with, any
103 < of its terms.  You shall be liable for any infringement or damages resulting
104 < from your failure to abide by the terms of this License Agreement.
105 <
106 < _EOF_
87 > more src/common/copyright.h
88   echo -n "Do you understand and accept the terms of this agreement [n]? "
89   set ans="$<"
90   if ( "$ans" !~ [yY]* ) exit
110 echo -n "Are you a new Radiance user or with a new address [y]? "
111 set ans="$<"
112 if ( "$ans" !~ [nN]* ) then
113        csh -f newuser
114 else
115        echo `cat src/rt/VERSION` compiled by `whoami` | mail [email protected]
116 endif
117 skiplicense:
91   set special=
92   set arch=
93   set opt=
# Line 283 | Line 256 | else
256          echo "Done."
257   endif
258   cd ..
259 < if (! -d /usr/tmp) then
260 <        ln -s /tmp /usr/tmp
261 <        if ($status) then
262 <                echo ""
263 <                echo "IMPORTANT: Execute 'sudo ln -s /tmp /usr/tmp'"
264 <                echo ""
265 <        endif
259 > if (! $inpath ) then
260 >        echo ""
261 >        echo "Add $idir to the beginning of your execution path:"
262 >        echo 'For C-shell users, put the following into ~/.cshrc'
263 >        echo "  set path=( $idir "'$path )'
264 >        echo 'For Bourne shell users, put the following into $HOME/profile'
265 >        echo "  PATH=$idir"':$PATH'
266 >        echo "  export PATH"
267   endif
268   else
269   cd src
# Line 299 | Line 273 | foreach i ( $srcdirs )
273          make -f Rmakefile $*
274          popd
275   end
302 echo "Done."
276   cd ..
304 endif
277   foreach i ( $* )
278          if ( "$i" == clean ) then
279                  echo "Removing library archives..."
280                  rm -f src/lib/*.[ao]
281          endif
282   end
283 + echo "Done."
284 + endif
285   exit 0

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines