Delete everything only needed for standalone building.
[cfd] / mklinks.in
diff --git a/mklinks.in b/mklinks.in
deleted file mode 100755 (executable)
index bc27bbf..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-#! /bin/sh
-
-# -*-sh-*-
-#
-# $Id: mklinks.in,v 1.4 1997/09/11 09:06:34 mdw Exp $
-#
-# Create links to the repository
-#
-# (c) 1997 Mark Wooding
-#
-
-#----- Licensing notice -----------------------------------------------------
-#
-# This file is part of the Common Files Distribution (`common').
-#
-# `Common' is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# `Common' is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with `common'; if not, write to the Free Software Foundation,
-# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-#----- Revision history -----------------------------------------------------
-#
-# $Log$
-
-# --- Configuration variables ---
-
-prefix=@prefix@
-datadir=@datadir@/@PACKAGE@
-
-# --- Parse command line arguments ---
-
-while [ $# -gt 0 ]; do
-  case $1 in
-    -h | --h | --he | --hel | --help)
-      cat <<EOF
-Usage: mklinks [FILE...]
-
-The FILEs listed are themselves lists of filenames.  Makes each named file a
-link to the corresponding file in the shared files repository.  With no
-arguments, \`mklinks' reads \`.links' from the current directory.
-EOF
-      exit 0
-      ;;
-    -v | --v | --ve | --ver | --vers | --versi | --versio | --version)
-      version=`echo '$Revision: 1.4 $' |
-       sed -n -e 's;^.*: \([0-9.]*\)\\$;\1;p'`
-      echo "mklinks $version; Common Files Distribution version @VERSION@"
-      exit 0
-      ;;
-    --)
-      shift
-      break
-      ;;
-    -)
-      break
-      ;;
-    -*)
-      echo "mklinks: unknown option \`$1'" >&2
-      exit 1
-      ;;
-    *)
-      break
-      ;;
-  esac
-  shift
-done  
-
-# --- Main code ---
-#
-# This is really trivial.
-
-[ $# = 0 ] && set .links
-cat "$@" | while read name; do
-  base="`echo $name | sed -e 's;^.*/;;'`"
-  [ -r "$datadir/$base" ] && ln -sf "$datadir/$base" "$name"
-done