mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
57473511e5
2008-09-24 Tor Lillqvist <tml@novell.com> * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig, share/aclocal and share/gtk-doc instead of trying to list individual files or subdirectories. We had missed gail.pc, for instance. svn path=/trunk/; revision=21511
66 lines
1.8 KiB
Bash
Executable File
66 lines
1.8 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
# Build zipfiles for GTK on Win32
|
|
|
|
ZIP=/tmp/gtk+-@GTK_VERSION@.zip
|
|
DEVZIP=/tmp/gtk+-dev-@GTK_VERSION@.zip
|
|
cd @prefix@
|
|
|
|
mkdir -p share/doc/gtk+-@GTK_VERSION@
|
|
cp -p @abs_srcdir@/COPYING share/doc/gtk+-@GTK_VERSION@
|
|
|
|
mkdir -p share/doc/gtk+-dev-@GTK_VERSION@
|
|
cp -p @abs_srcdir@/COPYING share/doc/gtk+-dev-@GTK_VERSION@
|
|
|
|
rm $ZIP
|
|
zip $ZIP -@ <<EOF
|
|
etc/gtk-2.0/gdk-pixbuf.loaders
|
|
etc/gtk-2.0/gtkrc
|
|
etc/gtk-2.0/gtk.immodules
|
|
etc/gtk-2.0/im-multipress.conf
|
|
bin/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
bin/libgdk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
bin/libgtk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
bin/libgailutil-@GAIL_LT_CURRENT_MINUS_AGE@.dll
|
|
bin/gdk-pixbuf-query-loaders.exe
|
|
bin/gtk-query-immodules-2.0.exe
|
|
EOF
|
|
|
|
zip $ZIP lib/gtk-2.0/modules/libgail.dll lib/gtk-2.0/@GTK_BINARY_VERSION@/loaders/*.dll lib/gtk-2.0/@GTK_BINARY_VERSION@/immodules/*.dll lib/gtk-2.0/@GTK_BINARY_VERSION@/engines/*.dll
|
|
|
|
zip $ZIP share/themes/Raleigh/gtk-2.0/gtkrc
|
|
zip $ZIP share/themes/Default/gtk-2.0-key/gtkrc
|
|
zip $ZIP share/themes/Emacs/gtk-2.0-key/gtkrc
|
|
zip $ZIP share/themes/MS-Windows/gtk-2.0/gtkrc
|
|
|
|
zip $ZIP share/locale/*/LC_MESSAGES/gtk20.mo
|
|
zip $ZIP share/locale/*/LC_MESSAGES/gtk20-properties.mo
|
|
|
|
zip -r -D $ZIP share/doc/gtk+-@GTK_VERSION@
|
|
|
|
rm $DEVZIP
|
|
zip -r -D $DEVZIP -@ <<EOF
|
|
include/gtk-2.0
|
|
include/gail-1.0
|
|
bin/gdk-pixbuf-csource.exe
|
|
bin/gtk-builder-convert
|
|
bin/gtk-demo.exe
|
|
bin/gtk-update-icon-cache.exe
|
|
share/man
|
|
lib/libgdk_pixbuf-@GTK_API_VERSION@.dll.a
|
|
lib/gdk_pixbuf-@GTK_API_VERSION@.lib
|
|
lib/libgdk-win32-@GTK_API_VERSION@.dll.a
|
|
lib/gdk-win32-@GTK_API_VERSION@.lib
|
|
lib/libgtk-win32-@GTK_API_VERSION@.dll.a
|
|
lib/gtk-win32-@GTK_API_VERSION@.lib
|
|
lib/libgailutil.dll.a
|
|
lib/gailutil.lib
|
|
lib/gtk-2.0/include
|
|
lib/pkgconfig
|
|
share/aclocal
|
|
share/gtk-2.0
|
|
share/gtk-doc
|
|
EOF
|
|
|
|
zip -r $DEVZIP share/doc/gtk+-dev-@GTK_VERSION@
|