mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-16 09:37:08 +00:00
97d10c6690
git-svn-id: svn+q:///qpdf/trunk@909 71b93d88-0707-0410-a8cf-f5a4172ac649
38 lines
654 B
Bash
Executable File
38 lines
654 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
|
|
|
|
cd install-mingw
|
|
v=`ls -d qpdf-*`
|
|
cd ..
|
|
|
|
cp -p README-windows-install.txt install-mingw/$v/README.txt
|
|
cp -p README-windows-install.txt install-msvc/$v/README.txt
|
|
|
|
cd install-mingw
|
|
zip -r ../$v-bin-mingw.zip $v
|
|
cd ../install-msvc
|
|
zip -r ../$v-bin-msvc.zip $v
|
|
cd ..
|
|
|
|
set +x
|
|
|
|
echo ""
|
|
echo "$v-bin-mingw.zip and $v-bin-msvc.zip have been created."
|