view diff-template @ 5018:1c65a8e44ef9 ss-2-1-59

[project @ 2004-09-22 03:33:29 by jwe]
author jwe
date Wed, 22 Sep 2004 03:33:29 +0000
parents 4a9feb849125
children 66fdc831c580
line wrap: on
line source

#!/bin/sh
#
# To apply this patch, cd to the top level Octave source directory and
# run this file through /bin/sh.  It will first remove any files that
# have been deleted from the source distribution since the last
# release and then update the sources with patch(1).
#
# Diffs for updating *.ps, *.dvi, and *.info* files are not included
# because they can be recreated from the Texinfo files using TeX and
# makeinfo.
#
# Diffs for updating parse.cc and y.tab.h are not included because
# they can be recreated from the file parse.y using bison.
#
# Diffs for updating lex.cc are not included because it can be
# recreated from lex.l using flex.
#
# Diffs for updating the configure script are not included because
# it can be recreated from configure.in using autoconf.
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering

if test -f src/octave.cc ; then
  true
else
  echo '***********************************************************' 1>&2
  echo 'You must run this script in the top-level octave directory!' 1>&2
  echo '***********************************************************' 1>&2
  exit 1
fi

echo 'removing the bsd-math directory'
rm -rf bsd-math

echo 'creating libcruft/slatec-fn directory'
mkdir libcruft/slatec-fn

echo 'removing old test files'
rm -f test/octave.test/index.exp
rm -f test/octave.test/prefer.exp
rm -f test/octave.test/zero-one.exp

echo 'creating directories for new test files'
mkdir test/octave.test/index/dfi-f
mkdir test/octave.test/index/dfi-t
mkdir test/octave.test/prefer
mkdir test/octave.test/zero-one/fff
mkdir test/octave.test/zero-one/fft
mkdir test/octave.test/zero-one/ftf
mkdir test/octave.test/zero-one/tff
mkdir test/octave.test/zero-one/ftt
mkdir test/octave.test/zero-one/tft
mkdir test/octave.test/zero-one/ttf
mkdir test/octave.test/zero-one/ttt

echo 'patching existing files'
patch -p1 << \PATCH_EOF
PATCH_EOF