summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-04 15:58:31 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-04 15:58:31 +0000
commit8d33d9426264f7600eb2eb48ed1e3eb6578d975d (patch)
treedbb168e95592a1b09f73038f63f8c99c5e966f13 /po/Makefile
parent223015fbeac80b3275e4c02daa09a1a390f1db39 (diff)
downloadmgaonline-8d33d9426264f7600eb2eb48ed1e3eb6578d975d.tar
mgaonline-8d33d9426264f7600eb2eb48ed1e3eb6578d975d.tar.gz
mgaonline-8d33d9426264f7600eb2eb48ed1e3eb6578d975d.tar.bz2
mgaonline-8d33d9426264f7600eb2eb48ed1e3eb6578d975d.tar.xz
mgaonline-8d33d9426264f7600eb2eb48ed1e3eb6578d975d.zip
merge
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/po/Makefile b/po/Makefile
index b24f7fab..b4da7608 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -6,6 +6,8 @@ PGOAL = mdkonline
GOALS = $(PGOAL).pot $(foreach a, $(LANGS), $(a).mo)
PL_FILES = ../mdkonline ../mdkupdate ../mdkapplet
+POFILES = $(shell ls *.po)
+
# $(foreach a, $(LANGS), $($(a).mo))
@@ -29,3 +31,10 @@ clean:
--keyword=I_ --keyword=i18n \
--language=perl -o $@ $(PL_FILES)
+merge: $(PGOAL).pot
+ @for n in $(POFILES); do \
+ echo "Merging $$n"; \
+ msgmerge "$$n" $< > "$$n"t; \
+ mv -f "$$n"t "$$n"; \
+ done
+