2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +00:00
qpdf/make_windows_releases-finish
Jay Berkenbilt c833295a39 Adjust Windows built to support 32-bit and 64-bit builds
Update the build to support new external-libs layout, and autoconf
options to specify windows word size.  Split make_windows_releases
into multiple scripts.
2012-06-21 21:22:35 -04:00

25 lines
468 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
cd install-mingw32
v=`ls -d qpdf-*`
cd ..
for i in mingw32 mingw64 msvc32 msvc64; do
cp -p README-windows-install.txt install-$i/$v/README.txt
(cd install-$i; zip -r ../$v-bin-$i.zip $v)
done
set +x
echo ""
echo "$v-bin-mingw{32,64}.zip and $v-bin-msvc{32,64}.zip have been created."