From aa274c0cd7d5faa7a215850d0c21b31732425c81 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 23 Feb 2006 12:48:57 +0000 Subject: use ../../../perl-install/share/po/ for merge only (not for build/install) --- live/draklive-install/po/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'live/draklive-install/po/Makefile') 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"; \ -- cgit v1.2.1