aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-27 19:40:37 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-27 19:40:37 +0000
commit3e1886e31d1a5fe25d73d7d2c4db687b0f3402b4 (patch)
tree66e5005bf8d5da450eca668ec899ec85f076d352
parentf7e3d75f910480bc7010eab12b993936efb1d367 (diff)
downloadrpmdrake-3e1886e31d1a5fe25d73d7d2c4db687b0f3402b4.tar
rpmdrake-3e1886e31d1a5fe25d73d7d2c4db687b0f3402b4.tar.gz
rpmdrake-3e1886e31d1a5fe25d73d7d2c4db687b0f3402b4.tar.bz2
rpmdrake-3e1886e31d1a5fe25d73d7d2c4db687b0f3402b4.tar.xz
rpmdrake-3e1886e31d1a5fe25d73d7d2c4db687b0f3402b4.zip
needs to don't merge compssusers translations for some l10n
because the charset or encoding used in drakx po and rpmdrake po are not the same!
-rw-r--r--po/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/po/Makefile b/po/Makefile
index 8f9300bb..4bbd6c95 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -11,6 +11,9 @@ POFILES = $(shell ls *.po)
MOFILES = $(POFILES:%.po=%.mo)
LANGS = $(POFILES:%.po=%)
+# because of different charsets or encodings.. :-(
+IGNOREPOMS = sl.po vi.po
+
PREFIX = $(RPM_BUILD_ROOT)/usr
DATADIR = $(PREFIX)/share
LOCALEDIR=$(DATADIR)/locale
@@ -18,7 +21,7 @@ LOCALEDIR=$(DATADIR)/locale
all: $(PGOAL).pot $(MOFILES)
%.mo: %.po
- cat $< "$<"m >> "$<"f
+ @if [ -z "`echo $(IGNOREPOMS) | grep $<`" ]; then cat $< "$<"m >> "$<"f; else cp $< "$<"f; fi
msgfmt -o $@ "$<"f
$(PL_CFILES): %_.c: %