2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-23 11:28:56 +00:00
qpdf/make_windows_releases

38 lines
621 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ ! -d external-libs ]; then
echo "Please extract qpdf-external-libs-bin.zip and try again"
exit 2
fi
if echo $PATH | grep -q /mingw64; then
wordsize=64
else
wordsize=32
fi
set -e
set -x
cwd=`pwd`
PATH=$cwd/libqpdf/build:$PATH
rm -rf install-mingw$wordsize install-msvc$wordsize
./config-mingw
make -j8
make check install
make distclean
./config-msvc
make -j8
make check install
make distclean
set +x
echo ''
echo "Finished builds for $wordsize. If not done already, rerun this"
2017-09-16 17:21:32 +00:00
echo "in a" `expr 96 - $wordsize` "environment."
2012-07-29 20:29:15 +00:00
echo 'Then run "./make_windows_releases-finish".'
echo ''