#!/bin/sh

# Build zipfiles for libIDL on Win32. Separate runtime and developer
# ones. Run after make install.

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

cd @prefix@
rm $ZIP

zip $ZIP -@ <<EOF
COPYING
COPYING.LIB-2
bin/libIDL-2-0.dll
EOF

rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/libIDL-2.0
info/libIDL2.info
lib/libIDL-2.dll.a
lib/pkgconfig/libIDL-2.0.pc
EOF
