summaryrefslogtreecommitdiff
path: root/gtk-zip.sh.in
blob: 97935b3f3d153db241bbc2752a225775e908ad36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

# Build zipfile for GTK on Win32: both runtime and developer stuff

# These two directory paths are obviously system-dependent.
# These are what tml@iki.fi uses, change as appropriate.
ZIP=/g/tmp/gtk+-@GTK_VERSION@-`date +%Y%m%d`.zip
cd /target

rm $ZIP
zip -r $ZIP -@ <<EOF
COPYING.LIB-2
etc/gtk-2.0
include/gtk-2.0
lib/libgdk_pixbuf-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
lib/libgdk_pixbuf-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.dll.a
lib/gdk_pixbuf-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.lib
lib/libgdk-win32-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
lib/libgdk-win32.dll.a
lib/gdk-win32.lib
lib/libgtk-win32-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
lib/libgtk-win32.dll.a
lib/gtk-win32.lib
lib/gtk-2.0
lib/pkgconfig/gdk-pixbuf-2.0.pc
lib/pkgconfig/gdk-2.0.pc
lib/pkgconfig/gtk+-2.0.pc
EOF

zip -r $ZIP lib/locale/*/LC_MESSAGES/gtk20.mo