nls: Update translations.
[jackhill/guix/guix.git] / po / doc / local.mk
index 4458774..6a488f2 100644 (file)
@@ -21,6 +21,7 @@ DOC_PO_FILES =                                        \
   %D%/guix-manual.es.po                                \
   %D%/guix-manual.de.po                                \
   %D%/guix-manual.fa.po                                \
+  %D%/guix-manual.fi.po                                \
   %D%/guix-manual.fr.po                                \
   %D%/guix-manual.it.po                                \
   %D%/guix-manual.ko.po                                \
@@ -31,9 +32,13 @@ DOC_PO_FILES =                                       \
 
 DOC_COOKBOOK_PO_FILES =                                \
   %D%/guix-cookbook.de.po                      \
+  %D%/guix-cookbook.es.po                      \
   %D%/guix-cookbook.fa.po                      \
+  %D%/guix-cookbook.fi.po                      \
   %D%/guix-cookbook.fr.po                      \
   %D%/guix-cookbook.ko.po                      \
+  %D%/guix-cookbook.ru.po                      \
+  %D%/guix-cookbook.sk.po                      \
   %D%/guix-cookbook.zh_Hans.po
 
 EXTRA_DIST = \
@@ -47,20 +52,6 @@ POT_OPTIONS = \
        --copyright-holder "the authors of Guix (msgids)"               \
        --msgid-bugs-address "bug-guix@gnu.org"
 
-# make-update-po-files-rule PO_FILES POT_FILE_INPUT
-define make-update-po-files-rule
-$(1): $(2)
-       @if ! [ -f "$$@" ]; then \
-           echo "File $$po_file does not exist.  If you are a translator, \
-you can create it with 'msginit'." 1>&2; \
-           exit 1; \
-       fi && \
-       lang=$$$$(echo $$@ | $(SED) -E 's|.*\.([^.]*)\.po$$$$|\1|') && \
-       echo $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) \
-         --lang=$$$${lang} "$$@" "$$<" && \
-       $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$$$${lang} "$$@" "$$<"
-endef
-
 %D%/%.pot: $(srcdir)/doc/%.texi
        $(AM_V_PO4A)$(PO4A_UPDATEPO) -M UTF-8 -f texinfo -m "$<" \
           -p "$@" $(POT_OPTIONS) && \
@@ -69,10 +60,5 @@ endef
 %D%/guix-manual.pot: %D%/guix.pot %D%/contributing.pot
        msgcat $^ > $@
 
-$(eval $(call make-update-po-files-rule,$(DOC_PO_FILES),%D%/guix-manual.pot))
-$(eval $(call make-update-po-files-rule,\
-  $(DOC_COOKBOOK_PO_FILES),%D%/guix-cookbook.pot))
-
 doc-pot-update: %D%/guix-manual.pot %D%/guix-cookbook.pot
-doc-po-update: $(DOC_PO_FILES) $(DOC_COOKBOOK_PO_FILES)
-.PHONY: doc-pot-update doc-po-update
+.PHONY: doc-pot-update