[BACK]Return to db2netbsd CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / db

Annotation of src/lib/libc/db/db2netbsd, Revision 1.2

1.1       cgd         1: #!/bin/sh
1.2     ! kleink      2: #      $NetBSD: db2netbsd,v 1.1 1996/05/03 22:43:02 cgd Exp $
1.1       cgd         3:
                      4: # This version transforms a Berkeley DB distribution into something
                      5: # which can be 'cvs import'ed into the NetBSD source repository.
                      6: # It is to be run in the untarred Berkeley DB distribution directory
                      7: # (e.g. the "db.1.85" directory created by tar xvf), and sets up
                      8: # the destination tree in place.
                      9:
                     10: version=`basename $PWD | sed -e 's/db\.//'`
                     11: releasetag=`basename $PWD | sed -e 's/\./-/g'`
                     12:
1.2     ! kleink     13: CLEANFILES="PORT docs hash/search.h test/btree.tests test/hash.tests"
1.1       cgd        14:
                     15: # clean up pieces that we never import
                     16: /bin/rm -rf $CLEANFILES
                     17: find . -type l -o -name tags | xargs /bin/rm -f
                     18:
                     19: # The include files are already in place
                     20:
                     21: # Put the regression tests in the right place
                     22: mkdir -p regress/lib/libc
                     23: mv test regress/lib/libc/db
                     24:
                     25: # Put the libc pieces in the right place.
                     26: mkdir -p lib/libc/db
                     27: mv Makefile.inc README btree changelog db hash man mpool recno lib/libc/db
                     28:
                     29: echo "import with:"
                     30: echo "cvs import -m \"Import of Berkeley DB version $version\" \
                     31: src CSRG $releasetag"

CVSweb <webmaster@jp.NetBSD.org>