#!/bin/sh

# Build runtime and developer zipfiles for libgsf for Win32.

ZIP=/tmp/libgsf-@VERSION@.zip
DEVZIP=/tmp/libgsf-dev-@VERSION@.zip

cd @prefix@

rm $ZIP
zip $ZIP -@ <<EOF
bin/libgsf-1-@CURRENT_MINUS_AGE@.dll
bin/libgsf-win32-1-@CURRENT_MINUS_AGE@.dll
EOF

zip $ZIP share/locale/*/LC_MESSAGES/libgsf.mo

rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/libgsf-1/gsf
include/libgsf-1/gsf-win32
lib/libgsf-1.dll.a
lib/libgsf-win32-1.dll.a
lib/pkgconfig/libgsf-1.pc
lib/pkgconfig/libgsf-win32-1.pc
EOF
