File: libgnomecanvas-zip.in

package info (click to toggle)
libgnomecanvas 2.30.3-4
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,768 kB
  • sloc: ansic: 15,401; sh: 11,067; makefile: 212
file content (30 lines) | stat: -rwxr-xr-x 729 bytes parent folder | download | duplicates (5)
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
#!/bin/sh

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

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

cd @prefix@
rm $ZIP

zip $ZIP -@ <<EOF
bin/libgnomecanvas-2-@LIBGNOMECANVAS_CURRENT_MINUS_AGE@.dll
lib/libglade/2.0/libcanvas.dll
EOF

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

rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
lib/libgnomecanvas-2.dll.a
lib/libglade/2.0/libcanvas.dll.a
lib/pkgconfig/libgnomecanvas-2.0.pc
include/libgnomecanvas-2.0
share/gtk-doc/html/libgnomecanvas
EOF