summaryrefslogtreecommitdiff
path: root/glib-zip.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-11-05 20:40:14 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-11-05 20:40:14 +0000
commit89fa66b5fde9ba8612ccee112f2e624183352e80 (patch)
treee888205c44b03d50aa175e9034bfd66705b2ebdf /glib-zip.in
parentca8f047a45b136d0d852cd5843ca2708b2a9b07b (diff)
Minor edits.
2001-11-05 Tor Lillqvist <tml@iki.fi> * README.win32: Minor edits. * glib-zip.in: Build separate runtime and developer packages. * glib/libcharset/config.charset (os): Don't need to match mingw after all, the charset.alias file isn't even used on Win32... (see localcharset.c). * glib/makefile.mingw.in: Add gdir. * glib/glib.def: Add g_dir_* entry points.
Diffstat (limited to 'glib-zip.in')
-rwxr-xr-xglib-zip.in26
1 files changed, 16 insertions, 10 deletions
diff --git a/glib-zip.in b/glib-zip.in
index 1faca690d..4e01e860c 100755
--- a/glib-zip.in
+++ b/glib-zip.in
@@ -1,31 +1,38 @@
#!/bin/sh
-# Build zipfile for GLib on Win32: both runtime and developer stuff
+# Build zipfiles for GLib on Win32: Separate runtime and developer ones.
# After running make install, run this.
-# These paths obviously are system-dependent:
-ZIP=/g/tmp/glib-@GLIB_VERSION@.zip
-cd /target
+ZIP=/tmp/glib-@GLIB_VERSION@.zip
+DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
+
+cd @prefix@
rm $ZIP
zip -r $ZIP -@ <<EOF
COPYING.LIB-2
+bin/gspawn-win32-helper.exe
+lib/libglib-1.3-@LT_CURRENT_MINUS_AGE@.dll
+lib/libgmodule-1.3-@LT_CURRENT_MINUS_AGE@.dll
+lib/libgobject-1.3-@LT_CURRENT_MINUS_AGE@.dll
+lib/libgthread-1.3-@LT_CURRENT_MINUS_AGE@.dll
+EOF
+
+zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
+
+rm $DEVZIP
+zip -r $DEVZIP -@ <<EOF
bin/glib-genmarshal.exe
bin/glib-gettextize
bin/glib-mkenums
bin/gobject-query.exe
-bin/gspawn-win32-helper.exe
include/glib-2.0
-lib/libglib-1.3-@LT_CURRENT_MINUS_AGE@.dll
lib/libglib-1.3.dll.a
lib/glib-1.3.lib
-lib/libgmodule-1.3-@LT_CURRENT_MINUS_AGE@.dll
lib/libgmodule-1.3.dll.a
lib/gmodule-1.3.lib
-lib/libgobject-1.3-@LT_CURRENT_MINUS_AGE@.dll
lib/libgobject-1.3.dll.a
lib/gobject-1.3.lib
-lib/libgthread-1.3-@LT_CURRENT_MINUS_AGE@.dll
lib/libgthread-1.3.dll.a
lib/gthread-1.3.lib
lib/glib-2.0
@@ -39,4 +46,3 @@ man/man1/glib-mkenums.1
man/man1/glib-genmarshal.1
EOF
-zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo