Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/bind remove $Header$ from original. remove yacc/lex ge...
details: https://anonhg.NetBSD.org/src/rev/08b554292493
branches: trunk
changeset: 499069:08b554292493
user: itojun <itojun%NetBSD.org@localhost>
date: Fri Nov 10 09:23:42 2000 +0000
description:
remove $Header$ from original. remove yacc/lex generated files, which are
unnecessary for import.
diffstat:
dist/bind/bind2netbsd | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 7213da26443e -r 08b554292493 dist/bind/bind2netbsd
--- a/dist/bind/bind2netbsd Fri Nov 10 06:56:11 2000 +0000
+++ b/dist/bind/bind2netbsd Fri Nov 10 09:23:42 2000 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: bind2netbsd,v 1.11 2000/04/28 03:37:55 itojun Exp $
+# $NetBSD: bind2netbsd,v 1.12 2000/11/10 09:23:42 itojun Exp $
#
# Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -84,11 +84,22 @@
cd $d/lib
rm -r bsd cylink dnssafe
+### Remove yacc/lex-generated files
+cd $d/bin
+rm -f named/ns_parser.c
+rm -f nslookup/commands.c
+
### Remove .cvsignore, Makefiles and *.mdoc files
find $d -name '.cvsignore' -exec rm {} \;
find $d -name 'Makefile' -exec rm {} \;
cd $d/lib/isc && rm *.mdoc
+### Remove the $'s around the Header:
+find $d -type f -print | while read f; do
+ sed -e ' s/\$\(Header.*\) \$/\1/' < $f > /tmp/bind1f$$ && mv /tmp/bind1f$$ $f && \
+ echo removed \$Header tag from $f
+done
+
### Remove the $'s around the Id:
find $d -type f -print | while read f; do
sed -e ' s/\$\(Id.*\) \$/\1/' < $f > /tmp/bind1f$$ && mv /tmp/bind1f$$ $f && \
Home |
Main Index |
Thread Index |
Old Index