aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: %