1#!/bin/sh 2# $NetBSD: prepare-import.sh,v 1.2 2010/02/20 02:55:53 joerg Exp $ 3# 4# Extract the new tarball and rename the libarchive-X.Y.Z directory 5# to dist. Run this script and check for additional files and 6# directories to prune, only relevant content is included. 7 8set -e 9 10mkdir tmp 11cd tmp 12../dist/configure --without-xml2 --without-expat 13mv config.h ../include/config_netbsd.h 14cd .. 15rm -rf tmp 16 17cd dist 18 19rm -rf build contrib doc examples 20rm INSTALL Makefile.am Makefile.in aclocal.m4 config.h.in 21rm configure configure.ac CMakeLists.txt */CMakeLists.txt */config_freebsd.h 22 23