Fix include order for config.h (#71704, Morten Welinder)
[platform/upstream/glib.git] / glib-zip.in
1 #!/bin/sh
2
3 # Build zipfiles for GLib on Win32: Separate runtime and developer ones.
4 # After running make install, run this.
5
6 ZIP=/tmp/glib-@GLIB_VERSION@.zip
7 DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
8
9 cd @prefix@
10
11 rm $ZIP
12 zip -r $ZIP -@ <<EOF
13 COPYING.LIB-2
14 bin/gspawn-win32-helper.exe
15 lib/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
16 lib/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
17 lib/libgobject-2.0-@LT_CURRENT_MINUS_AGE@.dll
18 lib/libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
19 EOF
20
21 zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
22
23 rm $DEVZIP
24 zip -r $DEVZIP -@ <<EOF
25 bin/glib-genmarshal.exe
26 bin/glib-gettextize
27 bin/glib-mkenums
28 bin/gobject-query.exe
29 include/glib-2.0
30 lib/libglib-2.0.dll.a
31 lib/glib-2.0.lib
32 lib/libgmodule-2.0.dll.a
33 lib/gmodule-2.0.lib
34 lib/libgobject-2.0.dll.a
35 lib/gobject-2.0.lib
36 lib/libgthread-2.0.dll.a
37 lib/gthread-2.0.lib
38 lib/glib-2.0
39 lib/pkgconfig/glib-2.0.pc
40 lib/pkgconfig/gmodule-2.0.pc
41 lib/pkgconfig/gobject-2.0.pc
42 lib/pkgconfig/gthread-2.0.pc
43 share/aclocal/glib-2.0.m4
44 share/aclocal/glib-gettext.m4
45 share/glib-2.0
46 man/man1/glib-mkenums.1
47 man/man1/glib-genmarshal.1
48 EOF