Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / libarchive / prepare-import.sh
blob207d148f1795dd6e1f9bf48c2bfa3eb7b5f5f339
1 #!/bin/sh
2 # $NetBSD$
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.
8 set -e
10 mkdir tmp
11 cd tmp
12 ../dist/configure
13 mv config.h ../include/config_netbsd.h
14 cd ..
15 rm -rf tmp
17 cd dist
19 rm -rf config.aux contrib doc examples windows
20 rm INSTALL Makefile.am Makefile.in README aclocal.m4 config.h.in
21 rm configure configure.ac version
22 rm tar/getdate.c