2009-10-23 16:58:52 +00:00
|
|
|
#!/bin/sh
|
|
|
|
if [ ! -d external-libs ]; then
|
|
|
|
echo "Please extract qpdf-external-libs-bin.zip and try again"
|
|
|
|
exit 2
|
|
|
|
fi
|
|
|
|
|
|
|
|
set -e
|
2009-10-23 21:22:22 +00:00
|
|
|
set -x
|
2009-10-23 16:58:52 +00:00
|
|
|
cwd=`pwd`
|
|
|
|
PATH=$cwd/libqpdf/build:$PATH
|
|
|
|
|
2012-06-21 18:06:54 +00:00
|
|
|
rm -rf install-mingw* install-msvc*
|
2009-10-23 17:04:44 +00:00
|
|
|
|
2012-06-21 18:06:54 +00:00
|
|
|
./config-mingw64
|
2009-10-23 16:58:52 +00:00
|
|
|
make check install
|
|
|
|
make distclean
|
2012-06-21 18:06:54 +00:00
|
|
|
./config-mingw32
|
2009-10-23 16:58:52 +00:00
|
|
|
make check install
|
|
|
|
make distclean
|
|
|
|
|
2009-10-23 23:01:19 +00:00
|
|
|
set +x
|
|
|
|
|
2012-06-21 18:06:54 +00:00
|
|
|
echo ''
|
|
|
|
echo 'Now run "./make_windows_releases-msvc 64" in a 64-bit MSVC environment'
|
|
|
|
echo 'and "./make_windows_releases-msvc 32" in a 32-bit MSVC environment.'
|
|
|
|
echo 'Then run "./make_windows_releases-msvc-finish".'
|
|
|
|
echo ''
|