File: libbonoboui-zip.in

package info (click to toggle)
libbonoboui 2.24.5-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,808 kB
  • ctags: 3,596
  • sloc: ansic: 30,221; sh: 10,256; xml: 599; makefile: 475
file content (38 lines) | stat: -rwxr-xr-x 983 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh

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

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

cd @prefix@
rm $ZIP

zip $ZIP -@ <<EOF
bin/libbonoboui-2-0.dll
lib/libglade/2.0/libbonobo.dll
EOF

if [ -f share/locale/de/LC_MESSAGES/libbonoboui-2.0.mo ]; then
  zip $ZIP share/locale/*/LC_MESSAGES/libbonoboui-2.0.mo
else
  zip $ZIP lib/locale/*/LC_MESSAGES/libbonoboui-2.0.mo
fi

rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
bin/bonobo-browser.exe
bin/test-moniker.exe
include/libbonoboui-2.0
lib/bonobo-2.0/samples/bonobo-sample-controls-2.exe
lib/bonobo/servers/Bonobo_Sample_Controls.server
lib/bonobo/servers/CanvDemo.server
lib/libbonoboui-2.dll.a
lib/pkgconfig/libbonoboui-2.0.pc
share/applications/bonobo-browser.desktop
share/gnome-2.0/ui/bonobo-browser.xml
share/gnome-2.0/ui/Bonobo_Sample_Container-ui.xml
share/gnome-2.0/ui/Bonobo_Sample_Hello.xml
share/gtk-doc/html/libbonoboui
EOF