X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=contrib%2Fconvert_to_g2c;fp=contrib%2Fconvert_to_g2c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=5d05f84e3932f7f210b2a61b585cc08c6b62db90;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/contrib/convert_to_g2c b/contrib/convert_to_g2c deleted file mode 100755 index 5d05f84e..00000000 --- a/contrib/convert_to_g2c +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# -# convert_to_g2c [f2c-dir] -# -# Renames certain files in a netlib f2c directory so they have the `.netlib' -# suffix, a la g77's version of f2c (libg2c). If `f2c-dir' is not specified, -# `f2c-YYYYMMDD' is the default, where YYYYMMDD is the current date. -# The directory is renamed such that the first `f' becomes a `g', -# usually `f2c-YYYYMMDD' -> `g2c-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=f2c-`date +%Y%m%d` -else - dir=$1 -fi - -newdir=`echo $dir | sed -e "s:f:g:"` - -cd $dir - -set +e - -mv -i changes changes.netlib -mv -i disclaimer disclaimer.netlib -mv -i f2c.h g2c.hin -mv -i permission permission.netlib -mv -i readme readme.netlib -cd libF77 -mv -i README README.netlib -mv -i makefile makefile.netlib -cd ../libI77 -mv -i README README.netlib -mv -i makefile makefile.netlib -cd .. - -cd .. - -mv -iv $dir $newdir