about summary refs log tree commit diff
path: root/po/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/po/Makefile b/po/Makefile
index aa88aba405..882a54b025 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -96,6 +96,8 @@ WGET = wget
 update-translations:
 	$(WGET) -qO- $(TRANSLATIONS_URL) | sed -n 's|.*href="\([^"]\+po\)".*|\1|p' | \
 	  while read f; do \
-	    $(WGET) -O $(objdir)/$$f-tmp $(TRANSLATIONS_URL)/$$f && \
+	    $(WGET) -O $(objdir)/$$f-tmp2 $(TRANSLATIONS_URL)/$$f && \
+	    msgmerge --previous --no-wrap $(objdir)/$$f-tmp2 libc.pot > \
+	      $(objdir)/$$f-tmp && \
 	    mv -f $(objdir)/$$f-tmp $$f; \
 	  done