mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
93865f49f6
2002-05-23 Tor Lillqvist <tml@iki.fi> * gtk-zip.sh.in: Use correct path to the loaders and immodules directories (GTK_BINARY_VERSION, not GTK_VERSION).
42 lines
1.3 KiB
Bash
Executable File
42 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
# Build zipfiles for GTK on Win32
|
|
|
|
ZIP=/tmp/gtk+-@GTK_VERSION@-`date +%Y%m%d`.zip
|
|
DEVZIP=/tmp/gtk+-dev-@GTK_VERSION@-`date +%Y%m%d`.zip
|
|
cd @prefix@
|
|
|
|
rm $ZIP
|
|
zip -r $ZIP -@ <<EOF
|
|
COPYING.LIB-2
|
|
etc/gtk-2.0
|
|
lib/libgdk_pixbuf-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
lib/libgdk-win32-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
lib/libgtk-win32-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
EOF
|
|
|
|
zip $ZIP lib/gtk-2.0/@GTK_BINARY_VERSION@/loaders/*.dll lib/gtk-2.0/@GTK_BINARY_VERSION@/immodules/*.dll
|
|
|
|
zip $ZIP share/themes/*/gtk-2.0/gtkrc share/themes/*/gtk-2.0-key/gtkrc
|
|
|
|
zip -r $ZIP lib/locale/*/LC_MESSAGES/gtk20.mo
|
|
|
|
rm $DEVZIP
|
|
zip -r $DEVZIP -@ <<EOF
|
|
include/gtk-2.0
|
|
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@.dll.a
|
|
lib/gdk-win32-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.lib
|
|
lib/libgtk-win32-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.dll.a
|
|
lib/gtk-win32-@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.lib
|
|
lib/gtk-2.0/include
|
|
lib/pkgconfig/gdk-pixbuf-2.0.pc
|
|
lib/pkgconfig/gdk-2.0.pc
|
|
lib/pkgconfig/gdk-win32-2.0.pc
|
|
lib/pkgconfig/gtk+-2.0.pc
|
|
lib/pkgconfig/gtk+-win32-2.0.pc
|
|
share/aclocal/gtk-2.0.m4
|
|
EOF
|
|
|