Add some introductory notes.
[platform/upstream/glib.git] / glib-zip.in
1 #!/bin/sh
2
3 # Build zipfiles for GLib on Win32: Separate runtime and developer ones.
4 # After running make install, run this.
5
6 ZIP=/tmp/glib-@GLIB_VERSION@.zip
7 DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
8
9 cd @prefix@
10 rm $ZIP
11
12 DLLDIR=lib
13 [ -f bin/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll ] && DLLDIR=bin
14
15 zip $ZIP -@ <<EOF
16 COPYING.LIB-2
17 bin/gspawn-win32-helper.exe
18 $DLLDIR/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
19 $DLLDIR/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
20 $DLLDIR/libgobject-2.0-@LT_CURRENT_MINUS_AGE@.dll
21 $DLLDIR/libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
22 EOF
23
24 zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
25
26 rm $DEVZIP
27 zip -r $DEVZIP -@ <<EOF
28 bin/glib-genmarshal.exe
29 bin/glib-gettextize
30 bin/glib-mkenums
31 bin/gobject-query.exe
32 include/glib-2.0
33 lib/libglib-2.0.dll.a
34 lib/glib-2.0.lib
35 lib/glib-2.0.def
36 lib/libgmodule-2.0.dll.a
37 lib/gmodule-2.0.lib
38 lib/gmodule-2.0.def
39 lib/libgobject-2.0.dll.a
40 lib/gobject-2.0.lib
41 lib/gobject-2.0.def
42 lib/libgthread-2.0.dll.a
43 lib/gthread-2.0.lib
44 lib/gthread-2.0.def
45 lib/glib-2.0
46 lib/pkgconfig/glib-2.0.pc
47 lib/pkgconfig/gmodule-2.0.pc
48 lib/pkgconfig/gobject-2.0.pc
49 lib/pkgconfig/gthread-2.0.pc
50 share/aclocal/glib-2.0.m4
51 share/aclocal/glib-gettext.m4
52 share/glib-2.0
53 share/gtk-doc/html/glib
54 share/gtk-doc/html/gobject
55 man/man1/glib-mkenums.1
56 man/man1/glib-genmarshal.1
57 EOF