#!/bin/sh # Build Win32 zipfile distribution of Evolution. Separate runtime and # developer zipfiles. End-users will install Evolution using an # executable installer combining all necessary pieces, of course, not # unzipping each module separately. ZIP=/tmp/evolution-@VERSION@.zip DEVZIP=/tmp/evolution-dev-@VERSION@.zip cd @prefix@ rm $ZIP zip -r $ZIP -@ <<EOF bin/libeabutil-0.dll bin/libecontacteditor-0.dll bin/libecontactlisteditor-0.dll bin/libefilterbar-0.dll bin/libemiscwidgets-0.dll bin/libeshell-0.dll bin/libessmime-0.dll bin/libetable-0.dll bin/libetext-0.dll bin/libetimezonedialog-0.dll bin/libeutil-0.dll bin/libevolution-a11y-0.dll bin/libevolution-addressbook-a11y-0.dll bin/libevolution-addressbook-importers-0.dll bin/libevolution-calendar-a11y-0.dll bin/libevolution-calendar-importers-0.dll bin/libevolution-mail-importers-0.dll bin/libevolution-smime-0.dll bin/libevolution-widgets-a11y-0.dll bin/libfilter-0.dll bin/libmenus-0.dll bin/evolution.exe lib/bonobo/servers/GNOME_Evolution_Addressbook.server lib/bonobo/servers/GNOME_Evolution_Calendar.server lib/bonobo/servers/GNOME_Evolution_Calendar_AlarmNotify.server lib/bonobo/servers/GNOME_Evolution_Mail.server lib/bonobo/servers/GNOME_Evolution_Shell.server share/mime-info/evolution.keys share/mime-info/evolution.mime share/evolution/@BASE_VERSION@ share/icons/hicolor etc/gconf/gconf.xml.defaults etc/gconf/schemas EOF zip $ZIP lib/evolution/@BASE_VERSION@/components/*dll zip $ZIP lib/evolution/@BASE_VERSION@/plugins/*.eplug zip $ZIP lib/evolution/@BASE_VERSION@/plugins/*.dll zip $ZIP lib/evolution/@BASE_VERSION@/plugins/*.xml zip $ZIP libexec/evolution/@BASE_VERSION@/*exe if [ -f share/locale/de/LC_MESSAGES/evolution-@BASE_VERSION@.mo ]; then zip $ZIP share/locale/*/LC_MESSAGES/evolution-@BASE_VERSION@.mo else zip $ZIP lib/locale/*/LC_MESSAGES/evolution-@BASE_VERSION@.mo fi rm $DEVZIP zip -r $DEVZIP -@ <<EOF lib/libeabutil.dll.a lib/libecontacteditor.dll.a lib/libecontactlisteditor.dll.a lib/libefilterbar.dll.a lib/libemiscwidgets.dll.a lib/libeshell.dll.a lib/libessmime.dll.a lib/libetable.dll.a lib/libetext.dll.a lib/libetimezonedialog.dll.a lib/libeutil.dll.a lib/libevolution-a11y.dll.a lib/libevolution-addressbook-a11y.dll.a lib/libevolution-addressbook-importers.dll.a lib/libevolution-calendar-a11y.dll.a lib/libevolution-calendar-importers.dll.a lib/libevolution-mail-importers.dll.a lib/libevolution-smime.dll.a lib/libevolution-widgets-a11y.dll.a lib/libfilter.dll.a lib/libmenus.dll.a lib/pkgconfig/evolution-plugin.pc lib/pkgconfig/evolution-shell.pc include/evolution-@BASE_VERSION@ share/idl/evolution-@BASE_VERSION@ EOF