Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/mipsco nuke now-unused stuff



details:   https://anonhg.NetBSD.org/src/rev/c273d22c69ae
branches:  trunk
changeset: 525491:c273d22c69ae
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Apr 12 06:03:30 2002 +0000

description:
nuke now-unused stuff

diffstat:

 distrib/mipsco/Makefile.inc |   9 -------
 distrib/mipsco/list2sh.awk  |  55 ---------------------------------------------
 distrib/mipsco/runlist.sh   |  13 ----------
 3 files changed, 0 insertions(+), 77 deletions(-)

diffs (89 lines):

diff -r f5ac318f1031 -r c273d22c69ae distrib/mipsco/Makefile.inc
--- a/distrib/mipsco/Makefile.inc       Fri Apr 12 06:02:36 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-#      $NetBSD: Makefile.inc,v 1.2 2002/04/10 15:05:42 lukem Exp $
-
-.include "../../Makefile.inc"
-.include <bsd.own.mk>
-
-# REV is revision without dots, as in "15R"
-# VER is revision with dots, as in "1.5R"
-REV!=sh ${_SRC_TOP_}/sys/conf/osrelease.sh -s
-VER!=sh ${_SRC_TOP_}/sys/conf/osrelease.sh 
diff -r f5ac318f1031 -r c273d22c69ae distrib/mipsco/list2sh.awk
--- a/distrib/mipsco/list2sh.awk        Fri Apr 12 06:02:36 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-#      $NetBSD: list2sh.awk,v 1.1 2001/02/19 07:45:38 wdk Exp $
-
-BEGIN {
-       printf("cd ${CURDIR}\n");
-       printf("\n");
-}
-/^$/ || /^#/ {
-       print $0;
-       next;
-}
-$1 == "COPY" {
-       printf("echo '%s'\n", $0);
-       printf("rm -f ${TARGDIR}/%s\n", $3);
-       printf("cp %s ${TARGDIR}/%s\n", $2, $3);
-       next;
-}
-$1 == "LINK" {
-       printf("echo '%s'\n", $0);
-       printf("rm -f ${TARGDIR}/%s\n", $3);
-       printf("(cd ${TARGDIR}; ln %s %s)\n", $2, $3);
-       next;
-}
-$1 == "SYMLINK" {
-       printf("echo '%s'\n", $0);
-       printf("rm -f ${TARGDIR}/%s\n", $3);
-       printf("(cd ${TARGDIR}; ln -s %s %s)\n", $2, $3);
-       next;
-}
-$1 == "COPYDIR" {
-       printf("echo '%s'\n", $0);
-       printf("(cd ${TARGDIR}/%s && find . ! -name . | xargs /bin/rm -rf)\n",
-           $3);
-       printf("(cd %s && find . ! -name . | cpio -pdamu ${TARGDIR}/%s)\n", $2,
-           $3);
-       next;
-}
-$1 == "SPECIAL" {
-       printf("echo '%s'\n", $0);
-       printf("(cd ${TARGDIR};");
-       for (i = 2; i <= NF; i++)
-               printf(" %s", $i);
-       printf(")\n");
-       next;
-}
-{
-       printf("echo '%s'\n", $0);
-       printf("echo 'Unknown keyword \"%s\" at line %d of input.'\n", $1, NR);
-       printf("exit 1\n");
-       exit 1;
-}
-END {
-       printf("\n");
-       printf("exit 0\n");
-       exit 0;
-}
diff -r f5ac318f1031 -r c273d22c69ae distrib/mipsco/runlist.sh
--- a/distrib/mipsco/runlist.sh Fri Apr 12 06:02:36 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-#      $NetBSD: runlist.sh,v 1.1 2001/02/19 07:45:38 wdk Exp $
-
-if [ "X$1" = "X-d" ]; then
-       SHELLCMD=cat
-       shift
-else
-       SHELLCMD="sh -e"
-fi
-
-( while [ "X$1" != "X" ]; do
-       cat $1
-       shift
-done ) | awk -f ${TOPDIR}/list2sh.awk | ${SHELLCMD}



Home | Main Index | Thread Index | Old Index