File: make_windows_releases-finish

package info (click to toggle)
qpdf 8.0.2-2~bpo9+1
  • links: PTS
  • area: main
  • in suites: stretch-backports
  • size: 20,056 kB
  • sloc: cpp: 29,209; perl: 6,102; xml: 5,043; sh: 3,932; ansic: 2,743; makefile: 92
file content (27 lines) | stat: -rwxr-xr-x 565 bytes parent folder | download | duplicates (4)
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
#!/bin/sh
if [ ! -d external-libs ]; then
   echo "Please extract qpdf-external-libs-bin.zip and try again"
   exit 2
fi

echo "Waiting for win.32 and win.64"
while [ ! -f win.32 ] || [ ! -f win.64 ]; do sleep 1; done

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."