mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 07:36:17 +01:00
Message catalogs should always get installed into share/locale nowadays,
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. svn path=/trunk/; revision=7262
This commit is contained in:
parent
4437940fe1
commit
6f84cab2a8
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
22
glib-zip.in
22
glib-zip.in
@ -14,10 +14,16 @@ cp -p @abs_srcdir@/COPYING share/doc/glib-@GLIB_VERSION@
|
||||
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
|
||||
@ -25,17 +31,7 @@ bin/libgobject-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@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user