2 # $NetBSD: prepare-import.sh,v 1.4 2015/04/17 18:49:23 christos Exp $
7 tar xzf xz-5.2
.1.
tar.gz
11 # Binary files derived from distribution files
14 rm -rf build-aux extra lib m
4/[a-s
]* m
4/[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
18 mv po
/*.po po
/*.gmo po.tmp
/
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 \
26 uuencode -m $f $f > $f.base64
30 # Files under GPL/LGPL kept:
31 # build-aux/* from autoconf
36 echo Add build-time endian
test to include
/config.h
:
38 #include <sys/endian.h>
39 #if BYTE_ORDER == BIG_ENDIAN
40 # define WORDS_BIGENDIAN 1