2335
|
1 #!/bin/sh |
|
2 # |
|
3 # To apply this patch, cd to the top level Octave source directory and |
|
4 # run this file through /bin/sh. It will first remove any files that |
|
5 # have been deleted from the source distribution since the last |
|
6 # release and then update the sources with patch(1). |
|
7 # |
|
8 # Diffs for updating *.ps, *.dvi, and *.info* files are not included |
|
9 # because they can be recreated from the Texinfo files using TeX and |
|
10 # makeinfo. |
|
11 # |
|
12 # Diffs for updating parse.cc and y.tab.h are not included because |
|
13 # they can be recreated from the file parse.y using bison. |
|
14 # |
|
15 # Diffs for updating lex.cc are not included because it can be |
|
16 # recreated from lex.l using flex. |
|
17 # |
|
18 # Diffs for updating the configure script are not included because |
|
19 # it can be recreated from configure.in using autoconf. |
|
20 # |
|
21 # John W. Eaton |
|
22 # jwe@bevo.che.wisc.edu |
|
23 # University of Wisconsin-Madison |
|
24 # Department of Chemical Engineering |
|
25 |
|
26 if test -f src/octave.cc ; then |
|
27 true |
|
28 else |
|
29 echo '***********************************************************' 1>&2 |
|
30 echo 'You must run this script in the top-level octave directory!' 1>&2 |
|
31 echo '***********************************************************' 1>&2 |
|
32 exit 1 |
|
33 fi |
|
34 |
|
35 echo 'removing the bsd-math directory' |
|
36 rm -rf bsd-math |
|
37 |
|
38 echo 'creating libcruft/slatec-fn directory' |
|
39 mkdir libcruft/slatec-fn |
|
40 |
|
41 echo 'removing old test files' |
|
42 rm -f test/octave.test/index.exp |
|
43 rm -f test/octave.test/prefer.exp |
|
44 rm -f test/octave.test/zero-one.exp |
|
45 |
|
46 echo 'creating directories for new test files' |
|
47 mkdir test/octave.test/index/dfi-f |
|
48 mkdir test/octave.test/index/dfi-t |
|
49 mkdir test/octave.test/prefer |
|
50 mkdir test/octave.test/zero-one/fff |
|
51 mkdir test/octave.test/zero-one/fft |
|
52 mkdir test/octave.test/zero-one/ftf |
|
53 mkdir test/octave.test/zero-one/tff |
|
54 mkdir test/octave.test/zero-one/ftt |
|
55 mkdir test/octave.test/zero-one/tft |
|
56 mkdir test/octave.test/zero-one/ttf |
|
57 mkdir test/octave.test/zero-one/ttt |
|
58 |
|
59 echo 'patching existing files' |
|
60 patch -p1 << \PATCH_EOF |
|
61 PATCH_EOF |