2001-10-29 22:33:34 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2001-11-05 20:40:14 +00:00
|
|
|
# Build zipfiles for GLib on Win32: Separate runtime and developer ones.
|
2001-10-29 22:33:34 +00:00
|
|
|
# After running make install, run this.
|
|
|
|
|
2001-11-05 20:40:14 +00:00
|
|
|
ZIP=/tmp/glib-@GLIB_VERSION@.zip
|
|
|
|
DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
|
|
|
|
|
|
|
|
cd @prefix@
|
2003-06-15 23:20:14 +00:00
|
|
|
|
2007-01-17 13:27:31 +00: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-15 23:20:14 +00:00
|
|
|
|
2008-07-28 00:36:49 +00:00
|
|
|
if test @LIB_EXE_MACHINE_FLAG@ = X64; then
|
|
|
|
helperbits=64
|
|
|
|
else
|
|
|
|
helperbits=32
|
|
|
|
fi
|
|
|
|
|
2007-01-17 13:27:31 +00:00
|
|
|
rm $ZIP
|
2003-06-11 22:06:16 +00:00
|
|
|
zip $ZIP -@ <<EOF
|
2008-07-28 00:36:49 +00:00
|
|
|
bin/gspawn-win${helperbits}-helper.exe
|
|
|
|
bin/gspawn-win${helperbits}-helper-console.exe
|
2008-01-21 17:29:43 +00: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 13:27:31 +00: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 20:40:14 +00:00
|
|
|
EOF
|
|
|
|
|
2009-11-10 14:19:59 +02:00
|
|
|
zip $ZIP share/locale/*/LC_MESSAGES/glib20.mo
|
2001-11-05 20:40:14 +00:00
|
|
|
|
2009-11-10 14:19:59 +02:00
|
|
|
zip -r -D $ZIP share/doc/glib-@GLIB_VERSION@
|
2007-01-17 13:27:31 +00:00
|
|
|
|
2001-11-05 20:40:14 +00:00
|
|
|
rm $DEVZIP
|
2009-11-10 14:19:59 +02:00
|
|
|
zip -r -D $DEVZIP -@ <<EOF
|
2011-07-18 14:20:18 +02:00
|
|
|
bin/gdbus.exe
|
2011-08-23 07:37:05 +02:00
|
|
|
bin/gdbus-codegen
|
2011-07-18 14:20:18 +02:00
|
|
|
bin/gio-querymodules.exe
|
|
|
|
bin/glib-compile-schemas.exe
|
2001-10-29 22:33:34 +00:00
|
|
|
bin/glib-genmarshal.exe
|
|
|
|
bin/glib-gettextize
|
|
|
|
bin/glib-mkenums
|
|
|
|
bin/gobject-query.exe
|
2011-07-26 23:23:31 +08:00
|
|
|
bin/gsettings.exe
|
2011-07-18 14:20:18 +02:00
|
|
|
etc/bash_completion.d/gdbus-bash-completion.sh
|
|
|
|
etc/bash_completion.d/gsettings-bash-completion.sh
|
|
|
|
include/gio-win32-2.0
|
2001-10-29 22:33:34 +00:00
|
|
|
include/glib-2.0
|
2011-08-23 07:37:05 +02:00
|
|
|
lib/gdbus-2.0
|
2011-07-18 14:20:18 +02:00
|
|
|
lib/gio
|
2001-10-29 22:33:34 +00:00
|
|
|
lib/glib-2.0
|
|
|
|
lib/pkgconfig/glib-2.0.pc
|
|
|
|
lib/pkgconfig/gmodule-2.0.pc
|
2005-02-07 16:31:54 +00:00
|
|
|
lib/pkgconfig/gmodule-no-export-2.0.pc
|
2001-10-29 22:33:34 +00:00
|
|
|
lib/pkgconfig/gobject-2.0.pc
|
|
|
|
lib/pkgconfig/gthread-2.0.pc
|
2008-02-04 22:18:27 +00:00
|
|
|
lib/pkgconfig/gio-2.0.pc
|
2010-04-19 11:32:05 +03: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 22:33:34 +00: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 12:53:36 +00:00
|
|
|
share/glib-2.0
|
2009-11-10 14:19:59 +02:00
|
|
|
share/gtk-doc/html
|
2011-07-18 14:20:18 +02:00
|
|
|
share/man/man1/gdbus.1
|
2011-08-23 07:37:05 +02:00
|
|
|
share/man/man1/gdbus-codegen.1
|
2011-07-18 14:20:18 +02:00
|
|
|
share/man/man1/gio-querymodules.1
|
|
|
|
share/man/man1/glib-compile-schemas.1
|
2008-09-19 10:42:04 +00: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 10:42:04 +00:00
|
|
|
share/man/man1/gobject-query.1
|
2011-07-18 14:20:18 +02:00
|
|
|
share/man/man1/gsettings.1
|
2001-10-29 22:33:34 +00:00
|
|
|
EOF
|
2007-01-17 13:27:31 +00:00
|
|
|
|
|
|
|
zip -r $DEVZIP share/doc/glib-dev-@GLIB_VERSION@
|