5 MAKE="make -j$(grep -c processor /proc/cpuinfo)"
7 export CFLAGS="-O2 -Wall -Werror"
9 autoreconf -i -f # make sure the version number gets updated
11 ./configure && $MAKE distcheck
13 # Recompress with libdeflate
14 gzfile=$(ls wimlib-*.tar.gz | tail -1)
16 libdeflate-gunzip $gzfile
17 libdeflate-gzip -12 $tarfile
19 for arch in i686 x86_64; do
20 ./tools/make-windows-release --arch=$arch --include-docs --zip