NetBSD/external/bsd/libc++/prepare-import.sh

16 lines
502 B
Bash
Executable File

#!/bin/sh
# $NetBSD: prepare-import.sh,v 1.3 2015/08/20 10:06:21 joerg Exp $
#
# Checkout libc++ and libcxxrt in the corresponding subdirectories of
# dist. Run this script and check for additional files and
# directories to prune, only relevant content should be included.
set -e
cd dist/libcxx
rm -rf .svn cmake Makefile CMakeLists.txt lib src/support www .arcconfig
rm -rf include/support */CMakeLists.txt .gitignore
cd ../libcxxrt
rm -rf .git CMakeLists.txt */CMakeLists.txt src/doxygen_config