db2netbsd revision 1.1
11.1Scgd#!/bin/sh 21.1Scgd# $NetBSD: db2netbsd,v 1.1 1996/05/03 22:43:02 cgd Exp $ 31.1Scgd 41.1Scgd# This version transforms a Berkeley DB distribution into something 51.1Scgd# which can be 'cvs import'ed into the NetBSD source repository. 61.1Scgd# It is to be run in the untarred Berkeley DB distribution directory 71.1Scgd# (e.g. the "db.1.85" directory created by tar xvf), and sets up 81.1Scgd# the destination tree in place. 91.1Scgd 101.1Scgdversion=`basename $PWD | sed -e 's/db\.//'` 111.1Scgdreleasetag=`basename $PWD | sed -e 's/\./-/g'` 121.1Scgd 131.1ScgdCLEANFILES="PORT docs test/btree.tests test/hash.tests" 141.1Scgd 151.1Scgd# clean up pieces that we never import 161.1Scgd/bin/rm -rf $CLEANFILES 171.1Scgdfind . -type l -o -name tags | xargs /bin/rm -f 181.1Scgd 191.1Scgd# The include files are already in place 201.1Scgd 211.1Scgd# Put the regression tests in the right place 221.1Scgdmkdir -p regress/lib/libc 231.1Scgdmv test regress/lib/libc/db 241.1Scgd 251.1Scgd# Put the libc pieces in the right place. 261.1Scgdmkdir -p lib/libc/db 271.1Scgdmv Makefile.inc README btree changelog db hash man mpool recno lib/libc/db 281.1Scgd 291.1Scgdecho "import with:" 301.1Scgdecho "cvs import -m \"Import of Berkeley DB version $version\" \ 311.1Scgdsrc CSRG $releasetag" 32