+# If adding a language, update the following variables, and info_TEXINFOS.
+MANUAL_LANGUAGES = de es fa fi fr it ko pt_BR ru sk zh_CN
+COOKBOOK_LANGUAGES = de es fa fi fr ko ru sk zh_Hans
+
+# Arg1: A list of languages codes.
+# Arg2: The file name stem.
+lang_to_texinfo = $(foreach lang,$(1),%D%/$(2).$(lang).texi)
+
+# Automake does not understand GNU Make non-standard extensions,
+# unfortunately, so we cannot use the above patsubst-based function here.
+info_TEXINFOS = %D%/guix.texi \
+ %D%/guix.de.texi \
+ %D%/guix.es.texi \
+ %D%/guix.fa.texi \
+ %D%/guix.fi.texi \
+ %D%/guix.fr.texi \
+ %D%/guix.it.texi \
+ %D%/guix.ko.texi \
+ %D%/guix.pt_BR.texi \
+ %D%/guix.ru.texi \
+ %D%/guix.sk.texi \
+ %D%/guix.zh_CN.texi \
+ %D%/guix-cookbook.texi \
+ %D%/guix-cookbook.de.texi \
+ %D%/guix-cookbook.es.texi \
+ %D%/guix-cookbook.fa.texi \
+ %D%/guix-cookbook.fi.texi \
+ %D%/guix-cookbook.fr.texi \
+ %D%/guix-cookbook.ko.texi \
+ %D%/guix-cookbook.ru.texi \
+ %D%/guix-cookbook.sk.texi \
+ %D%/guix-cookbook.zh_Hans.texi