summaryrefslogtreecommitdiff
path: root/atk-zip.sh.in
blob: 68bf2f133e415023d3baa2425cdc97dac5b19cfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# Build zipfiles for ATK on Win32

ZIP=/tmp/atk-@ATK_VERSION@-`date +%Y%m%d`.zip
DEVZIP=/tmp/atk-dev-@ATK_VERSION@-`date +%Y%m%d`.zip
cd @prefix@

rm $ZIP
zip -r $ZIP -@ <<EOF
lib/libatk-@ATK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
EOF

rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/atk-1.0
lib/libatk-@ATK_API_VERSION@.dll.a
lib/atk-@ATK_API_VERSION@.lib
lib/pkgconfig/atk.pc
EOF