iso9660fs: initialize buffer cache
[minix.git] / external / public-domain / xz / prepare-import.sh
blob568f3f8b5d33b8854b6ee25fb1be95df7344bdc5
1 #!/bin/sh
2 # $NetBSD: prepare-import.sh,v 1.1 2010/11/02 16:34:36 joerg Exp $
4 set -e
6 rm -rf dist tmp
7 tar xzf xz-5.0.0.tar.gz
8 mv xz-5.0.0 dist
10 cd dist
11 # Binary files derived from distribution files
12 rm -rf doc/man
13 # Files under GPL
14 rm -rf build-aux extra lib m4/[a-s]* m4/[u-z]* src/scripts/xz* Doxyfile.in
15 # Files not of relevance
16 rm -rf ABOUT-NLS aclocal.m4 autogen.sh configure COPYING.*GPL* INSTALL.generic
17 mkdir po.tmp
18 mv po/*.po po/*.gmo po.tmp/
19 rm -rf po
20 mv po.tmp po
21 rm -rf debug dos windows
22 rm -rf Makefile* */Makefile* */*/Makefile* */*/*/Makefile*
23 # Binary files to be encoded
24 for f in tests/compress_prepared_bcj_sparc tests/compress_prepared_bcj_x86 \
25 tests/files/*.xz; do
26 uuencode -m $f $f > $f.base64
27 rm $f
28 done
30 # Files under GPL/LGPL kept:
31 # build-aux/* from autoconf
32 # lib/*
33 # m4/*