aboutsummaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-14 10:58:00 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-14 10:58:00 +0000
commit4586e5f48626347979e3bc16760142c840317d1d (patch)
tree090da3c97e09f8904a03a644d0d43f0d916d4a8f /po
parent6ff6d7b9f0ee7773b55a26b80700862a1bf883f1 (diff)
downloadrpmdrake-4586e5f48626347979e3bc16760142c840317d1d.tar
rpmdrake-4586e5f48626347979e3bc16760142c840317d1d.tar.gz
rpmdrake-4586e5f48626347979e3bc16760142c840317d1d.tar.bz2
rpmdrake-4586e5f48626347979e3bc16760142c840317d1d.tar.xz
rpmdrake-4586e5f48626347979e3bc16760142c840317d1d.zip
(update_n_merge) split it out of (merge) ; now (merge) only update po w/o updating main pot file
Diffstat (limited to 'po')
-rw-r--r--po/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/po/Makefile b/po/Makefile
index 5159333d..03f767a2 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -18,10 +18,12 @@ all: $(MOFILES)
%.mo: %.po
msgfmt -o $@ $<
-merge: $(PGOAL).pot
+update_n_merge: $(PGOAL).pot merge
+
+merge:
@for n in $(POFILES); do \
echo "Merging $$n"; \
- msgmerge "$$n" $< > "$$n"t; \
+ msgmerge "$$n" $(PGOAL).pot > "$$n"t; \
mv -f "$$n"t "$$n"; \
done