da
[platform/upstream/atk.git] / atk-zip.sh.in
1 #!/bin/sh
2
3 # Build zipfiles for ATK on Win32
4
5 ZIP=/tmp/atk-@ATK_VERSION@-`date +%Y%m%d`.zip
6 DEVZIP=/tmp/atk-dev-@ATK_VERSION@-`date +%Y%m%d`.zip
7
8 cd @prefix@
9 rm $ZIP
10
11 DLLDIR=lib
12 [ -f bin/libatk-@ATK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll ] && DLLDIR=bin
13
14 zip $ZIP -@ <<EOF
15 $DLLDIR/libatk-@ATK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
16 EOF
17
18 zip $ZIP lib/locale/*/LC_MESSAGES/atk10.mo
19
20 rm $DEVZIP
21 zip -r $DEVZIP -@ <<EOF
22 include/atk-1.0
23 lib/libatk-@ATK_API_VERSION@.dll.a
24 lib/atk-@ATK_API_VERSION@.lib
25 lib/pkgconfig/atk.pc
26 EOF