source: trunk/third/glib2/glib-zip.in @ 20721

Revision 20721, 1.3 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20720, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3# Build zipfiles for GLib on Win32: Separate runtime and developer ones.
4# After running make install, run this.
5
6ZIP=/tmp/glib-@GLIB_VERSION@.zip
7DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
8
9cd @prefix@
10rm $ZIP
11
12DLLDIR=lib
13[ -f bin/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll ] && DLLDIR=bin
14
15zip $ZIP -@ <<EOF
16COPYING.LIB-2
17bin/gspawn-win32-helper.exe
18$DLLDIR/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
19$DLLDIR/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
20$DLLDIR/libgobject-2.0-@LT_CURRENT_MINUS_AGE@.dll
21$DLLDIR/libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
22EOF
23
24zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
25
26rm $DEVZIP
27zip -r $DEVZIP -@ <<EOF
28bin/glib-genmarshal.exe
29bin/glib-gettextize
30bin/glib-mkenums
31bin/gobject-query.exe
32include/glib-2.0
33lib/libglib-2.0.dll.a
34lib/glib-2.0.lib
35lib/glib-2.0.def
36lib/libgmodule-2.0.dll.a
37lib/gmodule-2.0.lib
38lib/gmodule-2.0.def
39lib/libgobject-2.0.dll.a
40lib/gobject-2.0.lib
41lib/gobject-2.0.def
42lib/libgthread-2.0.dll.a
43lib/gthread-2.0.lib
44lib/gthread-2.0.def
45lib/glib-2.0
46lib/pkgconfig/glib-2.0.pc
47lib/pkgconfig/gmodule-2.0.pc
48lib/pkgconfig/gobject-2.0.pc
49lib/pkgconfig/gthread-2.0.pc
50share/aclocal/glib-2.0.m4
51share/aclocal/glib-gettext.m4
52share/glib-2.0
53share/gtk-doc/html/glib
54share/gtk-doc/html/gobject
55man/man1/glib-mkenums.1
56man/man1/glib-genmarshal.1
57EOF
Note: See TracBrowser for help on using the repository browser.