xref: /netbsd-src/external/bsd/libc++/prepare-import.sh (revision 75f6d617e282811cb173c2ccfbf5df0dd71f7045)
1#!/bin/sh
2# $NetBSD: prepare-import.sh,v 1.3 2015/08/20 10:06:21 joerg Exp $
3#
4# Checkout libc++ and libcxxrt in the corresponding subdirectories of
5# dist.  Run this script and check for additional files and
6# directories to prune, only relevant content should be included.
7
8set -e
9
10cd dist/libcxx
11rm -rf .svn cmake Makefile CMakeLists.txt lib src/support www .arcconfig
12rm -rf include/support */CMakeLists.txt .gitignore
13cd ../libcxxrt
14rm -rf .git CMakeLists.txt */CMakeLists.txt src/doxygen_config
15
16