xref: /netbsd-src/external/bsd/pkg_install/prepare-import.sh (revision ded410dd5dcc9507bd72189d9b894fdcc63aedbb)
1#!/bin/sh
2# $NetBSD: prepare-import.sh,v 1.5 2024/06/11 10:18:11 wiz Exp $
3#
4# Copy new pkgsrc/pkgtools/pkg_install/files to dist.
5# Run this script and check for additional files and
6# directories to prune, only relevant content is included.
7#
8# Import with:
9#
10# cd dist
11# cvs -d cvs.netbsd.org:/cvsroot import -m "Import pkg_install 20xxxxxx from pkgsrc" src/external/bsd/pkg_install/dist PKGSRC pkg_install-20xxxxxx
12
13set -e
14
15cd dist
16rm -f Makefile.in README config* install-sh tkpkg
17rm -f */Makefile.in */*.cat*
18rm -rf CVS */CVS view
19