Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 39 lines (32 sloc) 1.11 KB
#!/bin/sh
# Build zipfiles for libmatecomponentui on Win32. Separate runtime and
# developer ones. Run after make install.
ZIP=/tmp/libmatecomponentui-@VERSION@.zip
DEVZIP=/tmp/libmatecomponentui-dev-@VERSION@.zip
cd @prefix@
rm $ZIP
zip $ZIP -@ <<EOF
bin/libmatecomponentui-2-0.dll
lib/libglade/2.0/libmatecomponent.dll
EOF
if [ -f share/locale/de/LC_MESSAGES/libmatecomponentui-2.0.mo ]; then
zip $ZIP share/locale/*/LC_MESSAGES/libmatecomponentui-2.0.mo
else
zip $ZIP lib/locale/*/LC_MESSAGES/libmatecomponentui-2.0.mo
fi
rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
bin/matecomponent-browser.exe
bin/mate-test-moniker.exe
include/libmatecomponentui-2.0
lib/matecomponent-2.0/samples/matecomponent-sample-controls-2.exe
lib/matecomponent/servers/MateComponent_Sample_Controls.server
lib/matecomponent/servers/CanvDemo.server
lib/libmatecomponentui-2.dll.a
lib/pkgconfig/libmatecomponentui-2.0.pc
share/applications/matecomponent-browser.desktop
share/mate-2.0/ui/matecomponent-browser.xml
share/mate-2.0/ui/MateComponent_Sample_Container-ui.xml
share/mate-2.0/ui/MateComponent_Sample_Hello.xml
share/gtk-doc/html/libmatecomponentui
EOF