summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-23 12:48:57 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-23 12:48:57 +0000
commitaa274c0cd7d5faa7a215850d0c21b31732425c81 (patch)
tree672da84627f362ff448c0cd75fda8aca4f74b7f7
parent4855e4b7f1bc67115fb63dd1fd508b13e784a936 (diff)
downloaddrakx-aa274c0cd7d5faa7a215850d0c21b31732425c81.tar
drakx-aa274c0cd7d5faa7a215850d0c21b31732425c81.tar.gz
drakx-aa274c0cd7d5faa7a215850d0c21b31732425c81.tar.bz2
drakx-aa274c0cd7d5faa7a215850d0c21b31732425c81.tar.xz
drakx-aa274c0cd7d5faa7a215850d0c21b31732425c81.zip
use ../../../perl-install/share/po/ for merge only (not for build/install)
-rw-r--r--live/draklive-install/po/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/live/draklive-install/po/Makefile b/live/draklive-install/po/Makefile
index 6572010d5..b97eddd66 100644
--- a/live/draklive-install/po/Makefile
+++ b/live/draklive-install/po/Makefile
@@ -2,7 +2,8 @@ NAME = draklive-install
localedir = ${prefix}/share/locale
PL_FILES = ../$(NAME) $(shell find .. -type f -name "*pm")
-POFILES = $(shell for i in ../../../perl-install/share/po/*.po; do basename $$i; done)
+MERGE_POFILES = $(shell for i in ../../../perl-install/share/po/*.po; do basename $$i; done)
+POFILES = $(wildcard *.po)
MOFILES = $(POFILES:%.po=%.mo)
LANGS = $(POFILES:%.po=%)
@@ -12,7 +13,7 @@ all: $(NAME).pot $(POFILES) $(MOFILES)
msgfmt -o $@ $<
merge: $(NAME).pot
- @for n in $(POFILES); do \
+ @for n in $(MERGE_POFILES); do \
echo "Merging $$n"; \
msgmerge "$$n" $< > "$$n"t; \
mv -f "$$n"t "$$n"; \