Update Friulian translation
[glib.git] / glib-zip.in
blob40d3c6722defa52ac0d0e67c6aa4df1769660e4a
1 #!/bin/sh
3 # Build zipfiles for GLib on Win32: Separate runtime and developer ones.
4 # After running make install, run this.
6 ZIP=/tmp/glib-@GLIB_VERSION@.zip
7 DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
9 cd @prefix@
11 mkdir -p share/doc/glib-@GLIB_VERSION@
12 cp -p @abs_srcdir@/COPYING share/doc/glib-@GLIB_VERSION@
14 mkdir -p share/doc/glib-dev-@GLIB_VERSION@
15 cp -p @abs_srcdir@/COPYING share/doc/glib-dev-@GLIB_VERSION@
17 if test @LIB_EXE_MACHINE_FLAG@ = X64; then
18 helperbits=64
19 else
20 helperbits=32
23 rm $ZIP
24 zip $ZIP -@ <<EOF
25 bin/gspawn-win${helperbits}-helper.exe
26 bin/gspawn-win${helperbits}-helper-console.exe
27 bin/libgio-2.0-@LT_CURRENT_MINUS_AGE@.dll
28 bin/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
29 bin/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
30 bin/libgobject-2.0-@LT_CURRENT_MINUS_AGE@.dll
31 bin/libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
32 EOF
34 zip $ZIP share/locale/*/LC_MESSAGES/glib20.mo
36 zip -r -D $ZIP share/doc/glib-@GLIB_VERSION@
38 rm $DEVZIP
39 zip -r -D $DEVZIP -@ <<EOF
40 bin/gdbus.exe
41 bin/gdbus-codegen
42 bin/gio-querymodules.exe
43 bin/glib-compile-schemas.exe
44 bin/glib-genmarshal.exe
45 bin/glib-gettextize
46 bin/glib-mkenums
47 bin/gobject-query.exe
48 bin/gsettings.exe
49 etc/bash_completion.d/gdbus-bash-completion.sh
50 etc/bash_completion.d/gsettings-bash-completion.sh
51 include/gio-win32-2.0
52 include/glib-2.0
53 lib/gdbus-2.0
54 lib/gio
55 lib/glib-2.0
56 lib/pkgconfig/glib-2.0.pc
57 lib/pkgconfig/gmodule-2.0.pc
58 lib/pkgconfig/gmodule-no-export-2.0.pc
59 lib/pkgconfig/gobject-2.0.pc
60 lib/pkgconfig/gthread-2.0.pc
61 lib/pkgconfig/gio-2.0.pc
62 lib/pkgconfig/gio-windows-2.0.pc
63 lib/gio-2.0.def
64 lib/gio-2.0.lib
65 lib/glib-2.0.def
66 lib/glib-2.0.lib
67 lib/gmodule-2.0.def
68 lib/gmodule-2.0.lib
69 lib/gobject-2.0.def
70 lib/gobject-2.0.lib
71 lib/gthread-2.0.def
72 lib/gthread-2.0.lib
73 lib/libgio-2.0.dll.a
74 lib/libglib-2.0.dll.a
75 lib/libgmodule-2.0.dll.a
76 lib/libgobject-2.0.dll.a
77 lib/libgthread-2.0.dll.a
78 share/aclocal/glib-2.0.m4
79 share/aclocal/glib-gettext.m4
80 share/aclocal/gsettings.m4
81 share/glib-2.0
82 share/gtk-doc/html
83 share/man/man1/gdbus.1
84 share/man/man1/gdbus-codegen.1
85 share/man/man1/gio-querymodules.1
86 share/man/man1/glib-compile-schemas.1
87 share/man/man1/glib-genmarshal.1
88 share/man/man1/glib-gettextize.1
89 share/man/man1/glib-mkenums.1
90 share/man/man1/gobject-query.1
91 share/man/man1/gsettings.1
92 EOF
94 zip -r $DEVZIP share/doc/glib-dev-@GLIB_VERSION@