Source-Changes-HG archive

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

[src/trunk]: src/distrib/macppc/floppies Remove obsolete files in NDWO.



details:   https://anonhg.NetBSD.org/src/rev/0ab838f9275c
branches:  trunk
changeset: 524769:0ab838f9275c
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Mar 30 07:47:11 2002 +0000

description:
Remove obsolete files in NDWO.

diffstat:

 distrib/macppc/floppies/Makefile.inc |   8 -----
 distrib/macppc/floppies/list2sh.awk  |  55 ------------------------------------
 distrib/macppc/floppies/runlist.sh   |  13 --------
 3 files changed, 0 insertions(+), 76 deletions(-)

diffs (88 lines):

diff -r 0291208f713b -r 0ab838f9275c distrib/macppc/floppies/Makefile.inc
--- a/distrib/macppc/floppies/Makefile.inc      Sat Mar 30 07:45:33 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-#      $NetBSD: Makefile.inc,v 1.4 2000/07/24 09:16:27 tsubai Exp $
-
-.include "../../../Makefile.inc"
-
-# REV is revision without dots, as in "12C"
-# VER is revision with dots, as in "1.2C"
-REV!=sh ${KERNSRCDIR}/conf/osrelease.sh -s
-VER!=sh ${KERNSRCDIR}/conf/osrelease.sh 
diff -r 0291208f713b -r 0ab838f9275c distrib/macppc/floppies/list2sh.awk
--- a/distrib/macppc/floppies/list2sh.awk       Sat Mar 30 07:45:33 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-#      $NetBSD: list2sh.awk,v 1.1 1998/07/03 11:20:09 tsubai 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 0291208f713b -r 0ab838f9275c distrib/macppc/floppies/runlist.sh
--- a/distrib/macppc/floppies/runlist.sh        Sat Mar 30 07:45:33 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-#      $NetBSD: runlist.sh,v 1.1 1998/07/03 11:20:09 tsubai 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