Enable the building of introspection files for Visual C++ builds
[atk.git] / atk-zip.sh.in
blob967f61d016d0235a6b2fb371b8e703a4d54dd7f4
1 #!/bin/sh
3 # Build zipfiles for ATK on Win32
5 ZIP=/tmp/atk-@ATK_VERSION@.zip
6 DEVZIP=/tmp/atk-dev-@ATK_VERSION@.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 share/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/atk-@ATK_API_VERSION@.def
26 lib/pkgconfig/atk.pc
27 EOF