summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-14 11:06:53 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-14 11:06:53 +0000
commit15764cae98380e0223d6ecb01e86b0abe2e04ded (patch)
tree1e0d4b06e7ffc5b3c9ae35b4f40b831bf661d79f /po/Makefile
parent8cf18529490e06d3a421af641409ad18a95db29b (diff)
downloaddraklive-install-15764cae98380e0223d6ecb01e86b0abe2e04ded.tar
draklive-install-15764cae98380e0223d6ecb01e86b0abe2e04ded.tar.gz
draklive-install-15764cae98380e0223d6ecb01e86b0abe2e04ded.tar.bz2
draklive-install-15764cae98380e0223d6ecb01e86b0abe2e04ded.tar.xz
draklive-install-15764cae98380e0223d6ecb01e86b0abe2e04ded.zip
(update_n_merge) split it out of (merge) ; now (merge) only update po w/o updating main pot file
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/po/Makefile b/po/Makefile
index cf94c58..f679b1a 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -12,10 +12,12 @@ all: $(NAME).pot $(POFILES) $(MOFILES)
%.mo: %.po
msgfmt -o $@ $<
-merge: $(NAME).pot
+update_n_merge: $(NAME).pot merge
+
+merge:
@for n in $(MERGE_POFILES); do \
echo "Merging $$n"; \
- msgmerge "$$n" $< > "$$n"t; \
+ msgmerge "$$n" $(NAME).pot > "$$n"t; \
mv -f "$$n"t "$$n"; \
done