1 --- Makefile.in.in 2008-04-19 14:36:53.000000000 +0200
2 +++ Makefile.in.in.new 2008-04-19 14:39:19.000000000 +0200
4 || cp -p $(srcdir)/$$file $(distdir); \
8 +### Updating po and gmo files
10 +# Update by merging all .po files with the .po template master file.
12 +# It is possible to update only a single .po file by setting the PO variable to
13 +# either <lang> or <lang>.po when calling make. Example: make update-po PO=is
15 +update-po: Makefile $(GETTEXT_PACKAGE).pot
17 + $(foreach lang,$(basename $(if $(strip $(PO)),$(PO),$(CATALOGS))), \
18 + echo -n "$(lang): "; \
19 + if $(MSGMERGE) $(lang).po $(GETTEXT_PACKAGE).pot -o $(lang).new.po; then \
20 + mv -f $(lang).new.po $(lang).po; \
22 + echo "msgmerge failed!"; \
23 + rm -f $(lang).new.po; \
28 +update-gmo: Makefile $(CATALOGS)
31 +update-po-orig: Makefile
32 $(MAKE) $(GETTEXT_PACKAGE).pot