2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +00:00
qpdf/make_windows_releases
Jay Berkenbilt 623916203f typo
git-svn-id: svn+q:///qpdf/trunk@908 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-24 14:20:11 +00:00

35 lines
628 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/qpdf*/README.txt
cp -p README-windows-install.txt install-msvc/qpdf*/README.txt
cd install-mingw
v=qpdf-*
zip -r ../$v-bin-mingw.zip $v
cd ../install-msys
zip -r ../$v-bin-msvc.zip $v
cd ..
set +x
echo ""
echo "$v-bin-mingw.zip and $v-bin-msvc.zip have been created."