summaryrefslogtreecommitdiff
path: root/gtk-zip.sh.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2003-06-17 23:49:40 +0000
committerTor Lillqvist <tml@src.gnome.org>2003-06-17 23:49:40 +0000
commit36485f1ce1e6b411022e7fcb609e182ce4bc9637 (patch)
tree60a57153277e9d391fe9c303da4cee2df984a6f4 /gtk-zip.sh.in
parent6fa19beb31e9f54992a7919b1ff83f5508953e08 (diff)
downloadgdk-pixbuf-36485f1ce1e6b411022e7fcb609e182ce4bc9637.tar.gz
Look for DLLs also in the bin subdirectory, where libtool 1.5 installs
2003-06-17 Tor Lillqvist <tml@iki.fi> * gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin subdirectory, where libtool 1.5 installs them. * README.win32: Point to FSF's binary Win32 distribution of gettext-runtime.
Diffstat (limited to 'gtk-zip.sh.in')
-rwxr-xr-xgtk-zip.sh.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/gtk-zip.sh.in b/gtk-zip.sh.in
index a60c5ef7c..cee5bac8c 100755
--- a/gtk-zip.sh.in
+++ b/gtk-zip.sh.in
@@ -5,14 +5,17 @@
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
+
+DLLDIR=lib
+[ -f bin/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll ] && DLLDIR=bin
+
zip -r $ZIP -@ <<EOF
COPYING.LIB-2
etc/gtk-2.0
-lib/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
-lib/libgdk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
-lib/libgtk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
+$DLLDIR/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
+$DLLDIR/libgdk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
+$DLLDIR/libgtk-win32-@GTK_API_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