Source-Changes-HG archive

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

[src/trunk]: src/dist/bind populate doc/bog into dist/bind/bog. part of PR9997.



details:   https://anonhg.NetBSD.org/src/rev/f15f1f3690c9
branches:  trunk
changeset: 485444:f15f1f3690c9
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Apr 28 03:34:00 2000 +0000

description:
populate doc/bog into dist/bind/bog.  part of PR9997.

diffstat:

 dist/bind/bind2netbsd |  16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r 3b454fa0addd -r f15f1f3690c9 dist/bind/bind2netbsd
--- a/dist/bind/bind2netbsd     Fri Apr 28 02:37:57 2000 +0000
+++ b/dist/bind/bind2netbsd     Fri Apr 28 03:34:00 2000 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#      $NetBSD: bind2netbsd,v 1.9 1999/11/20 18:21:56 veego Exp $
+#      $NetBSD: bind2netbsd,v 1.10 2000/04/28 03:34:00 itojun Exp $
 #
 # Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -62,6 +62,7 @@
 
 echo preparing directory $d
 rm -rf $d
+mkdir -p $d
 mkdir -p $d/man
 
 ### Copy the files and directories
@@ -73,6 +74,10 @@
 pax -rvw probe_ipv6 $d/bin
 cd $r/doc/man
 pax -rvw dig.1 dnskeygen.1 dnsquery.1 host.1 named-bootconf.8 named-xfer.8 named.8 named.conf.5 ndc.8 nslookup.8 nsupdate.8 $d/man
+cd $r/doc
+pax -rvw bog $d
+cd $d/bog
+make clean
 
 ### Remove lib/bsd, lib/cylink and lib/dnssafe
 cd $d/lib
@@ -120,6 +125,15 @@
        )
 done
 
+find $d/bog -type f -print | while read m; do
+       sed 1q < $m | grep -q '\$NetBSD' || (
+echo ".\\\"     \$NetBSD\$" >/tmp/bind2m$$
+echo ".\\\"" >>/tmp/bind2m$$
+       cat $m >> /tmp/bind2m$$
+       mv /tmp/bind2m$$ $m && echo added RCS tag to $m
+       )
+done
+
 # XXX Not all files contains now the NetBSD RCS Id.
 # Make sure you add the RCS Id before you do the import.
 # This is the list of missing files as of 8.2.2-P5:



Home | Main Index | Thread Index | Old Index