2001-10-29 23:33:34 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2001-11-05 21:40:14 +01:00
|
|
|
# Build zipfiles for GLib on Win32: Separate runtime and developer ones.
|
2001-10-29 23:33:34 +01:00
|
|
|
# After running make install, run this.
|
|
|
|
|
2001-11-05 21:40:14 +01:00
|
|
|
ZIP=/tmp/glib-@GLIB_VERSION@.zip
|
|
|
|
DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
|
|
|
|
|
|
|
|
cd @prefix@
|
2003-06-16 01:20:14 +02:00
|
|
|
|
2007-01-17 14:27:31 +01:00
|
|
|
mkdir -p share/doc/glib-@GLIB_VERSION@
|
|
|
|
cp -p @abs_srcdir@/COPYING share/doc/glib-@GLIB_VERSION@
|
|
|
|
|
|
|
|
mkdir -p share/doc/glib-dev-@GLIB_VERSION@
|
|
|
|
cp -p @abs_srcdir@/COPYING share/doc/glib-dev-@GLIB_VERSION@
|
2003-06-16 01:20:14 +02:00
|
|
|
|
2008-07-28 02:36:49 +02:00
|
|
|
if test @LIB_EXE_MACHINE_FLAG@ = X64; then
|
|
|
|
helperbits=64
|
|
|
|
else
|
|
|
|
helperbits=32
|
|
|
|
fi
|
|
|
|
|
2007-01-17 14:27:31 +01:00
|
|
|
rm $ZIP
|
2003-06-12 00:06:16 +02:00
|
|
|
zip $ZIP -@ <<EOF
|
2008-07-28 02:36:49 +02:00
|
|
|
bin/gspawn-win${helperbits}-helper.exe
|
|
|
|
bin/gspawn-win${helperbits}-helper-console.exe
|
2007-01-17 14:27:31 +01:00
|
|
|
bin/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
|
2008-01-21 18:29:43 +01:00
|
|
|
bin/libgio-2.0-@LT_CURRENT_MINUS_AGE@.dll
|
2007-01-17 14:27:31 +01:00
|
|
|
bin/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
|
|
|
|
bin/libgobject-2.0-@LT_CURRENT_MINUS_AGE@.dll
|
|
|
|
bin/libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
|
2001-11-05 21:40:14 +01:00
|
|
|
EOF
|
|
|
|
|
2009-11-10 13:19:59 +01:00
|
|
|
zip $ZIP share/locale/*/LC_MESSAGES/glib20.mo
|
2001-11-05 21:40:14 +01:00
|
|
|
|
2009-11-10 13:19:59 +01:00
|
|
|
zip -r -D $ZIP share/doc/glib-@GLIB_VERSION@
|
2007-01-17 14:27:31 +01:00
|
|
|
|
2001-11-05 21:40:14 +01:00
|
|
|
rm $DEVZIP
|
2009-11-10 13:19:59 +01:00
|
|
|
zip -r -D $DEVZIP -@ <<EOF
|
2001-10-29 23:33:34 +01:00
|
|
|
bin/glib-genmarshal.exe
|
|
|
|
bin/glib-gettextize
|
|
|
|
bin/glib-mkenums
|
|
|
|
bin/gobject-query.exe
|
|
|
|
include/glib-2.0
|
2002-03-05 06:18:23 +01:00
|
|
|
lib/libglib-2.0.dll.a
|
|
|
|
lib/glib-2.0.lib
|
2003-01-04 07:47:14 +01:00
|
|
|
lib/glib-2.0.def
|
2002-03-05 06:18:23 +01:00
|
|
|
lib/libgmodule-2.0.dll.a
|
|
|
|
lib/gmodule-2.0.lib
|
2003-01-04 07:47:14 +01:00
|
|
|
lib/gmodule-2.0.def
|
2002-03-05 06:18:23 +01:00
|
|
|
lib/libgobject-2.0.dll.a
|
|
|
|
lib/gobject-2.0.lib
|
2003-01-04 07:47:14 +01:00
|
|
|
lib/gobject-2.0.def
|
2002-03-05 06:18:23 +01:00
|
|
|
lib/libgthread-2.0.dll.a
|
|
|
|
lib/gthread-2.0.lib
|
2003-01-04 07:47:14 +01:00
|
|
|
lib/gthread-2.0.def
|
2008-02-04 23:25:55 +01:00
|
|
|
lib/libgio-2.0.dll.a
|
2008-03-13 18:12:03 +01:00
|
|
|
lib/gio-2.0.lib
|
|
|
|
lib/gio-2.0.def
|
2001-10-29 23:33:34 +01:00
|
|
|
lib/glib-2.0
|
|
|
|
lib/pkgconfig/glib-2.0.pc
|
|
|
|
lib/pkgconfig/gmodule-2.0.pc
|
2005-02-07 17:31:54 +01:00
|
|
|
lib/pkgconfig/gmodule-no-export-2.0.pc
|
2001-10-29 23:33:34 +01:00
|
|
|
lib/pkgconfig/gobject-2.0.pc
|
|
|
|
lib/pkgconfig/gthread-2.0.pc
|
2008-02-04 23:18:27 +01:00
|
|
|
lib/pkgconfig/gio-2.0.pc
|
2001-10-29 23:33:34 +01:00
|
|
|
share/aclocal/glib-2.0.m4
|
|
|
|
share/aclocal/glib-gettext.m4
|
2001-11-11 13:53:36 +01:00
|
|
|
share/glib-2.0
|
2009-11-10 13:19:59 +01:00
|
|
|
share/gtk-doc/html
|
2008-09-19 12:42:04 +02:00
|
|
|
share/man/man1/glib-mkenums.1
|
|
|
|
share/man/man1/glib-genmarshal.1
|
|
|
|
share/man/man1/gobject-query.1
|
2001-10-29 23:33:34 +01:00
|
|
|
EOF
|
2007-01-17 14:27:31 +01:00
|
|
|
|
|
|
|
zip -r $DEVZIP share/doc/glib-dev-@GLIB_VERSION@
|