summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-06-20 15:13:50 +0000
committerFrancois Pons <fpons@mandriva.com>2001-06-20 15:13:50 +0000
commitba693dafcce4db483a339632ae9b90f7dda96004 (patch)
treef6e2c5a58d7630cf997f7151c1277c94ae424251 /po/Makefile
parent99ca1452990f6f68a759e9ff04cdff0c90ecc544 (diff)
downloadurpmi-ba693dafcce4db483a339632ae9b90f7dda96004.tar
urpmi-ba693dafcce4db483a339632ae9b90f7dda96004.tar.gz
urpmi-ba693dafcce4db483a339632ae9b90f7dda96004.tar.bz2
urpmi-ba693dafcce4db483a339632ae9b90f7dda96004.tar.xz
urpmi-ba693dafcce4db483a339632ae9b90f7dda96004.zip
clean up to make i18n work (again?) with all messages.
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/po/Makefile b/po/Makefile
index 5f594bde..69c6d88c 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -4,8 +4,7 @@ localedir = $(PREFIX)/usr/share/locale
LANGS = $(shell ls *.po | xargs -i basename {} .po )
PGOAL = urpmi
GOALS = $(PGOAL).pot $(foreach a, $(LANGS), $(a).mo)
-
-# $(foreach a, $(LANGS), $($(a).mo))
+POTFILES=../_irpm ../urpm.pm ../urpmf ../urpmi ../urpmi.addmedia ../urpmi.update ../urpmi.removemedia ../urpmq
all: $(GOALS)
@@ -21,11 +20,11 @@ clean:
%.mo: %.po
msgfmt -o $@ $<
-%.pot: POTFILES.in
- ./create_placeholder
- xgettext --default-domain=`basename $@ .pot` --directory=.. \
+%.pot: $(POTFILES)
+ ./create_placeholder $(POTFILES)
+ xgettext --default-domain=`basename $@ .pot` \
--add-comments --keyword=__ --keyword=_ --keyword=N_ \
--keyword=I_ --keyword=i18n \
- --files-from=./POTFILES.in && \
+ placeholder.h && \
mv `basename $@ .pot`.po $@