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
|
2008-01-21 18:29:43 +01:00
|
|
|
bin/libgio-2.0-@LT_CURRENT_MINUS_AGE@.dll
|
2011-07-18 14:20:18 +02:00
|
|
|
bin/libglib-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
|
2011-07-18 14:20:18 +02:00
|
|
|
bin/gdbus.exe
|
|
|
|
bin/gio-querymodules.exe
|
|
|
|
bin/glib-compile-schemas.exe
|
2001-10-29 23:33:34 +01:00
|
|
|
bin/glib-genmarshal.exe
|
|
|
|
bin/glib-gettextize
|
|
|
|
bin/glib-mkenums
|
|
|
|
bin/gobject-query.exe
|
2011-07-18 14:20:18 +02:00
|
|
|
bin/gsettings.
|
|
|
|
etc/bash_completion.d/gdbus-bash-completion.sh
|
|
|
|
etc/bash_completion.d/gsettings-bash-completion.sh
|
|
|
|
include/gio-win32-2.0
|
2001-10-29 23:33:34 +01:00
|
|
|
include/glib-2.0
|
2011-07-18 14:20:18 +02:00
|
|
|
lib/gio
|
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
|
2010-04-19 10:32:05 +02:00
|
|
|
lib/pkgconfig/gio-windows-2.0.pc
|
2011-07-18 14:20:18 +02:00
|
|
|
lib/gio-2.0.def
|
|
|
|
lib/gio-2.0.lib
|
|
|
|
lib/glib-2.0.def
|
|
|
|
lib/glib-2.0.lib
|
|
|
|
lib/gmodule-2.0.def
|
|
|
|
lib/gmodule-2.0.lib
|
|
|
|
lib/gobject-2.0.def
|
|
|
|
lib/gobject-2.0.lib
|
|
|
|
lib/gthread-2.0.def
|
|
|
|
lib/gthread-2.0.lib
|
|
|
|
lib/libgio-2.0.dll.a
|
|
|
|
lib/libglib-2.0.dll.a
|
|
|
|
lib/libgmodule-2.0.dll.a
|
|
|
|
lib/libgobject-2.0.dll.a
|
|
|
|
lib/libgthread-2.0.dll.a
|
2001-10-29 23:33:34 +01:00
|
|
|
share/aclocal/glib-2.0.m4
|
|
|
|
share/aclocal/glib-gettext.m4
|
2011-07-18 14:20:18 +02:00
|
|
|
share/aclocal/gsettings.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
|
2011-07-18 14:20:18 +02:00
|
|
|
share/man/man1/gdbus.1
|
|
|
|
share/man/man1/gio-querymodules.1
|
|
|
|
share/man/man1/glib-compile-schemas.1
|
2008-09-19 12:42:04 +02:00
|
|
|
share/man/man1/glib-genmarshal.1
|
2011-07-18 14:20:18 +02:00
|
|
|
share/man/man1/glib-gettextize.1
|
|
|
|
share/man/man1/glib-mkenums.1
|
2008-09-19 12:42:04 +02:00
|
|
|
share/man/man1/gobject-query.1
|
2011-07-18 14:20:18 +02:00
|
|
|
share/man/man1/gsettings.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@
|