2008-09-20 02:01:25 +04:00
|
|
|
#!/bin/sh
|
2020-01-17 03:39:27 +03:00
|
|
|
# $NetBSD: prepare-import.sh,v 1.5 2020/01/17 00:39:27 christos Exp $
|
2008-09-20 02:01:25 +04:00
|
|
|
#
|
|
|
|
# Extract the new tarball and rename the libarchive-X.Y.Z directory
|
|
|
|
# to dist. Run this script and check for additional files and
|
|
|
|
# directories to prune, only relevant content is included.
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cd dist
|
|
|
|
|
2020-01-17 03:39:27 +03:00
|
|
|
rm -rf build contrib doc examples autom4te.cache
|
2017-04-20 16:11:03 +03:00
|
|
|
rm -f INSTALL Makefile.am Makefile.in aclocal.m4 config.h.in
|
|
|
|
rm -f configure configure.ac CMakeLists.txt */CMakeLists.txt */*/CMakeLists.txt
|
|
|
|
rm -f */config_freebsd.h CTestConfig.cmake .gitattributes .gitignore
|
|
|
|
rm -f .travis.yml */*/.cvsignore
|
2010-02-20 05:55:52 +03:00
|
|
|
|