X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=contrib%2Fconvert_to_f2c;fp=contrib%2Fconvert_to_f2c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=9a499fcf14c7a673be9ee253823762fca8bf3fbc;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/contrib/convert_to_f2c b/contrib/convert_to_f2c deleted file mode 100755 index 9a499fcf..00000000 --- a/contrib/convert_to_f2c +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# -# convert_to_f2c [g2c-dir] -# -# Renames certain files in a g2c (libg2c) directory so they no longer have the -# `.netlib' suffix, a la netlib's f2c distribution. If `g2c-dir' is not -# specified, `g2c-YYYYMMDD' is the default, where YYYYMMDD is the current -# date. The directory is renamed such that the first `g' becomes an `f', -# usually `g2c-YYYYMMDD' -> `f2c-YYYYMMDD'. -# -# (C) 1999 Free Software Foundation -# Originally by James Craig Burley , September 1999. -# -# This script is Free Software, and it can be copied, distributed and -# modified as defined in the GNU General Public License. A copy of -# its license can be downloaded from http://www.gnu.org/copyleft/gpl.html - -set -e - -if [ x$1 = x ] -then - dir=g2c-`date +%Y%m%d` -else - dir=$1 -fi - -newdir=`echo $dir | sed -e "s:g:f:"` - -cd $dir - -set +e - -mv -i changes.netlib changes -mv -i disclaimer.netlib disclaimer -mv -i g2c.hin f2c.h -mv -i permission.netlib permission -mv -i readme.netlib readme -cd libF77 -mv -i README.netlib README -mv -i makefile.netlib makefile -cd ../libI77 -mv -i README.netlib README -mv -i makefile.netlib makefile -cd .. - -cd .. - -mv -iv $dir $newdir