Translation updated by Ivar Smolin.
[atk.git] / atk-zip.sh.in
blob21242c0bcb00630b8c19ac5857eea42e375b85c6
1 #!/bin/sh
3 # Build zipfiles for ATK on Win32
5 ZIP=/tmp/atk-@ATK_VERSION@-`date +%Y%m%d`.zip
6 DEVZIP=/tmp/atk-dev-@ATK_VERSION@-`date +%Y%m%d`.zip
8 cd @prefix@
9 rm $ZIP
11 DLLDIR=lib
12 [ -f bin/libatk-@ATK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll ] && DLLDIR=bin
14 zip $ZIP -@ <<EOF
15 $DLLDIR/libatk-@ATK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
16 EOF
18 zip $ZIP lib/locale/*/LC_MESSAGES/atk10.mo
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