2013-05-18 03:00:22 +04:00
|
|
|
#!/bin/sh
|
2015-08-20 13:06:20 +03:00
|
|
|
# $NetBSD: prepare-import.sh,v 1.3 2015/08/20 10:06:21 joerg Exp $
|
2013-05-18 03:00:22 +04:00
|
|
|
#
|
|
|
|
# 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
|
2015-08-20 13:06:20 +03:00
|
|
|
rm -rf include/support */CMakeLists.txt .gitignore
|
2013-05-18 03:00:22 +04:00
|
|
|
cd ../libcxxrt
|
|
|
|
rm -rf .git CMakeLists.txt */CMakeLists.txt src/doxygen_config
|
|
|
|
|