#!/bin/sh # Build runtime and developer zipfiles for libvisio on Win32. ZIP=libvisio-@VSD_VERSION@-MinGW.zip DEVZIP=libvisio-devel-@VSD_VERSION@-MinGW.zip TOOLSZIP=libvisio-tools-@VSD_VERSION@.zip cd $DESTDIR@prefix@ DLLDIR=lib [ -f bin/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@.dll ] && \ DLLDIR=bin @STRIP@ --strip-unneeded \ $DLLDIR/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@.dll @STRIP@ --strip-all \ bin/vsd2raw.exe \ bin/vsd2xhtml.exe upx -qqq --best \ $DLLDIR/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@.dll \ bin/vsd2raw.exe \ bin/vsd2xhtml.exe rm -f $ZIP zip -q -r $ZIP -@ <