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
|
|
|
|
|
2009-10-23 17:04:44 +00:00
|
|
|
rm -rf install-mingw install-msvc
|
|
|
|
|
2009-10-23 16:58:52 +00:00
|
|
|
./config-mingw
|
|
|
|
make check install
|
|
|
|
make distclean
|
|
|
|
./config-msvc
|
|
|
|
make check install
|
|
|
|
make distclean
|
|
|
|
|
|
|
|
cp -p README-windows-install.txt install-mingw/README.txt
|
|
|
|
cp -p README-windows-install.txt install-msvc/README.txt
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
echo "Create qpdf-VERSION-bin-mingw.zip from install-mingw."
|
|
|
|
echo "Create qpdf-VERSION-bin-msvc.zip from install-msvc."
|