3 # Build zipfiles for GLib on Win32: Separate runtime and developer ones.
4 # After running make install, run this.
6 ZIP=/tmp/glib-@GLIB_VERSION@.zip
7 DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
11 mkdir -p share/doc/glib-@GLIB_VERSION@
12 cp -p @abs_srcdir@/COPYING share/doc/glib-@GLIB_VERSION@
14 mkdir -p share/doc/glib-dev-@GLIB_VERSION@
15 cp -p @abs_srcdir@/COPYING share/doc/glib-dev-@GLIB_VERSION@
17 if test @LIB_EXE_MACHINE_FLAG@ = X64; then
25 bin/gspawn-win${helperbits}-helper.exe
26 bin/gspawn-win${helperbits}-helper-console.exe
27 bin/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
28 bin/libgio-2.0-@LT_CURRENT_MINUS_AGE@.dll
29 bin/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
30 bin/libgobject-2.0-@LT_CURRENT_MINUS_AGE@.dll
31 bin/libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
34 zip $ZIP share/locale/*/LC_MESSAGES/glib20.mo
36 zip -r -D $ZIP share/doc/glib-@GLIB_VERSION@
39 zip -r -D $DEVZIP -@ <<EOF
40 bin/glib-genmarshal.exe
48 lib/libgmodule-2.0.dll.a
51 lib/libgobject-2.0.dll.a
54 lib/libgthread-2.0.dll.a
61 lib/pkgconfig/glib-2.0.pc
62 lib/pkgconfig/gmodule-2.0.pc
63 lib/pkgconfig/gmodule-no-export-2.0.pc
64 lib/pkgconfig/gobject-2.0.pc
65 lib/pkgconfig/gthread-2.0.pc
66 lib/pkgconfig/gio-2.0.pc
67 lib/pkgconfig/gio-windows-2.0.pc
68 share/aclocal/glib-2.0.m4
69 share/aclocal/glib-gettext.m4
72 share/man/man1/glib-mkenums.1
73 share/man/man1/glib-genmarshal.1
74 share/man/man1/gobject-query.1
77 zip -r $DEVZIP share/doc/glib-dev-@GLIB_VERSION@