summaryrefslogtreecommitdiff
path: root/glib-zip.in
blob: df15bbe7e13ee42414932604c9bc041374c556d2 (plain)
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
39
40
41
42
43
44
45
46
47
48
#!/bin/sh

# Build zipfiles for GLib on Win32: Separate runtime and developer ones.
# After running make install, run this.

ZIP=/tmp/glib-@GLIB_VERSION@.zip
DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip

cd @prefix@

rm $ZIP
zip -r $ZIP -@ <<EOF
COPYING.LIB-2
bin/gspawn-win32-helper.exe
lib/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
lib/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
lib/libgobject-2.0-@LT_CURRENT_MINUS_AGE@.dll
lib/libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
EOF

zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo

rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
bin/glib-genmarshal.exe
bin/glib-gettextize
bin/glib-mkenums
bin/gobject-query.exe
include/glib-2.0
lib/libglib-2.0.dll.a
lib/glib-2.0.lib
lib/libgmodule-2.0.dll.a
lib/gmodule-2.0.lib
lib/libgobject-2.0.dll.a
lib/gobject-2.0.lib
lib/libgthread-2.0.dll.a
lib/gthread-2.0.lib
lib/glib-2.0
lib/pkgconfig/glib-2.0.pc
lib/pkgconfig/gmodule-2.0.pc
lib/pkgconfig/gobject-2.0.pc
lib/pkgconfig/gthread-2.0.pc
share/aclocal/glib-2.0.m4
share/aclocal/glib-gettext.m4
share/glib-2.0
man/man1/glib-mkenums.1
man/man1/glib-genmarshal.1
EOF