From 3e1886e31d1a5fe25d73d7d2c4db687b0f3402b4 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 27 Aug 2002 19:40:37 +0000 Subject: 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! --- po/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'po/Makefile') 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: % -- cgit v1.2.1