2008-07-28 Tor Lillqvist <tml@novell.com>
+ * glib-zip.in: Message catalogs should always get installed into
+ share/locale nowadays, don't bother with the convoluted logic
+ checking if they are in lib/locale instead. Put the correct helper
+ programs in the zipfile.
+
+2008-07-28 Tor Lillqvist <tml@novell.com>
+
Fix problems on 64-bit Windows. Avoid warnings, some of which
indicated actual problems, some which were just annoyances.
mkdir -p share/doc/glib-dev-@GLIB_VERSION@
cp -p @abs_srcdir@/COPYING share/doc/glib-dev-@GLIB_VERSION@
+if test @LIB_EXE_MACHINE_FLAG@ = X64; then
+ helperbits=64
+else
+ helperbits=32
+fi
+
rm $ZIP
zip $ZIP -@ <<EOF
-bin/gspawn-win32-helper.exe
-bin/gspawn-win32-helper-console.exe
+bin/gspawn-win${helperbits}-helper.exe
+bin/gspawn-win${helperbits}-helper-console.exe
bin/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
bin/libgio-2.0-@LT_CURRENT_MINUS_AGE@.dll
bin/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
bin/libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
EOF
-if [ -f lib/locale/de/LC_MESSAGES/glib20.mo -a -f share/locale/de/LC_MESSAGES/glib20.mo ]; then
- if [ lib/locale/de/LC_MESSAGES/glib20.mo -nt share/locale/de/LC_MESSAGES/glib20.mo ]; then
- zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
- else
- zip -r $ZIP share/locale/*/LC_MESSAGES/glib20.mo
- fi
-elif [ -f lib/locale/de/LC_MESSAGES/glib20.mo ]; then
- zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
-else
- zip -r $ZIP share/locale/*/LC_MESSAGES/glib20.mo
-fi
+zip -r $ZIP share/locale/*/LC_MESSAGES/glib20.mo
zip -r $ZIP share/doc/glib-@GLIB_VERSION@