xref: /netbsd-src/external/bsd/libc++/prepare-import.sh (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
1#!/bin/sh
2# $NetBSD: prepare-import.sh,v 1.2 2014/05/15 23:59:12 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
13cd ../libcxxrt
14rm -rf .git CMakeLists.txt */CMakeLists.txt src/doxygen_config
15
16