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
|
|
|
|
2007-01-17 14:27:31 +01:00
|
|
|
rm $ZIP
|
2003-06-12 00:06:16 +02:00
|
|
|
zip $ZIP -@ <<EOF
|
2001-11-05 21:40:14 +01:00
|
|
|
bin/gspawn-win32-helper.exe
|
2005-09-07 12:10:49 +02:00
|
|
|
bin/gspawn-win32-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
|
|
|
|
|
2007-11-26 23:32:12 +01:00
|
|
|
if [ -f lib/locale/de/LC_MESSAGES/glib20.mo -a -f share/locale/de/LC_MESSAGES/glib20.mo ]; then
|
|
|
|
if [ lib/locale/de/LC_MESSAGES/glib20.mo -nt share/locale/de/LC_MESSAGES/glib20.mo ]; then
|
|
|
|
zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
|
|
|
|
else
|
|
|
|
zip -r $ZIP share/locale/*/LC_MESSAGES/glib20.mo
|
|
|
|
fi
|
|
|
|
elif [ -f lib/locale/de/LC_MESSAGES/glib20.mo ]; then
|
|
|
|
zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
|
|
|
|
else
|
|
|
|
zip -r $ZIP share/locale/*/LC_MESSAGES/glib20.mo
|
|
|
|
fi
|
2001-11-05 21:40:14 +01:00
|
|
|
|
2007-01-17 14:27:31 +01:00
|
|
|
zip -r $ZIP share/doc/glib-@GLIB_VERSION@
|
|
|
|
|
2001-11-05 21:40:14 +01:00
|
|
|
rm $DEVZIP
|
|
|
|
zip -r $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
|
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
|
|
|
|
share/aclocal/glib-2.0.m4
|
|
|
|
share/aclocal/glib-gettext.m4
|
2001-11-11 13:53:36 +01:00
|
|
|
share/glib-2.0
|
2003-02-11 18:59:04 +01:00
|
|
|
share/gtk-doc/html/glib
|
|
|
|
share/gtk-doc/html/gobject
|
2001-10-29 23:33:34 +01:00
|
|
|
man/man1/glib-mkenums.1
|
|
|
|
man/man1/glib-genmarshal.1
|
|
|
|
EOF
|
2007-01-17 14:27:31 +01:00
|
|
|
|
|
|
|
zip -r $DEVZIP share/doc/glib-dev-@GLIB_VERSION@
|