2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +00:00
qpdf/make_windows_releases

27 lines
554 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
set -e
set -x
cwd=`pwd`
PATH=$cwd/libqpdf/build:$PATH
rm -rf install-mingw install-msvc
./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."