fix build error for translations

Esse commit está contido em:
fossfreedom
2014-07-15 21:14:29 +01:00
commit 9d823735ef
2 arquivos alterados com 4 adições e 5 exclusões
+1 -1
Ver Arquivo
@@ -18,4 +18,4 @@ install:
install -m 644 coverart_search_providers.plugin* $(DESTDIR)$(SUBDIR)
install -d $(DESTDIR)$(GLIB_DIR)
install -m 644 schema/$(GLIB_SCHEME) $(DESTDIR)$(GLIB_DIR)
cd po;./install_all.sh
cd po;./install_all.sh $(DESTDIR)$(LOCALEDIR)
+3 -4
Ver Arquivo
@@ -1,9 +1,8 @@
#!/bin/sh
default="/usr/share/locale/"
echo "installing languages to $default"
echo "installing languages to $1"
for i in *.po; do
lang=`basename $i .po`
echo "installing $lang"
install -d $default$lang/LC_MESSAGES
msgfmt -c $lang.po -o $default$lang/LC_MESSAGES/coverart_search_providers.mo
install -d $1$lang/LC_MESSAGES
msgfmt -c $lang.po -o $1$lang/LC_MESSAGES/coverart_search_providers.mo
done