2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-31 22:11:53 +00:00
qpdf/make_windows_releases
Jay Berkenbilt 0ca8c00ae8 set -x
git-svn-id: svn+q:///qpdf/trunk@899 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-23 21:22:22 +00:00

27 lines
554 B
Bash
Executable File

#!/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."