blob: 0518622ae03c0a2c4d44180915869d40e3c120e9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#!/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."
|