diff options
author | Marius Bakke <marius@gnu.org> | 2021-05-09 21:29:46 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-05-09 21:29:46 +0200 |
commit | f03426420497cd9839f5fb3cb547dbecd8d6053b (patch) | |
tree | 220cdbab5b58b27c63d2df3ee711ad4bfdda074b /doc/local.mk | |
parent | 3cf1afb7e7249992b2db2f4f00899fd22237e89a (diff) | |
parent | 069399ee9dbf75b7c89583f03346a63b2cfe4ac6 (diff) | |
download | guix-patches-f03426420497cd9839f5fb3cb547dbecd8d6053b.tar guix-patches-f03426420497cd9839f5fb3cb547dbecd8d6053b.tar.gz |
Merge branch 'master' into core-updates
Conflicts:
gnu/local.mk
gnu/packages/bioinformatics.scm
gnu/packages/django.scm
gnu/packages/gtk.scm
gnu/packages/llvm.scm
gnu/packages/python-web.scm
gnu/packages/python.scm
gnu/packages/tex.scm
guix/build-system/asdf.scm
guix/build/emacs-build-system.scm
guix/profiles.scm
Diffstat (limited to 'doc/local.mk')
-rw-r--r-- | doc/local.mk | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/doc/local.mk b/doc/local.mk index 97122c737d..d69a2feabd 100644 --- a/doc/local.mk +++ b/doc/local.mk @@ -24,11 +24,20 @@ info_TEXINFOS = %D%/guix.texi \ %D%/guix.de.texi \ %D%/guix.es.texi \ + %D%/guix.fa.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.de.texi \ + %D%/guix-cookbook.fa.texi \ + %D%/guix-cookbook.fr.texi \ + %D%/guix-cookbook.ko.texi \ + %D%/guix-cookbook.zh_Hans.texi %C%_guix_TEXINFOS = \ %D%/contributing.texi \ @@ -61,18 +70,33 @@ OS_CONFIG_EXAMPLES_TEXI = \ %D%/os-config-desktop.texi \ %D%/os-config-lightweight-desktop.texi +# Do not forget to update these, when updating info_TEXINFOS TRANSLATED_INFO = \ %D%/guix.de.texi \ %D%/guix.es.texi \ + %D%/guix.fa.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%/contributing.de.texi \ %D%/contributing.es.texi \ + %D%/contributing.fa.texi \ %D%/contributing.fr.texi \ + %D%/contributing.it.texi \ + %D%/contributing.ko.texi \ + %D%/contributing.pt_BR.texi \ %D%/contributing.ru.texi \ + %D%/contributing.sk.texi \ %D%/contributing.zh_CN.texi \ - %D%/guix-cookbook.de.texi + %D%/guix-cookbook.de.texi \ + %D%/guix-cookbook.fa.texi \ + %D%/guix-cookbook.fr.texi \ + %D%/guix-cookbook.ko.texi \ + %D%/guix-cookbook.zh_Hans.texi # Bundle this file so that makeinfo finds it in out-of-source-tree builds. BUILT_SOURCES += $(OS_CONFIG_EXAMPLES_TEXI) $(TRANSLATED_INFO) @@ -100,7 +124,7 @@ cat "$@.tmp" | egrep '@p?x?ref' -A1 | sed 'N;s|--\n||g;P;D' | sed 's|^| |g' | \ line=$$(grep -n "^msgid \"$$e\"" "$<" | cut -f1 --delimiter=":") ;\ ((line++)) ;\ if [ "$$line" != "1" ]; then \ - translation=$$(head -n "$$line" "$<" | tail -1 | grep msgstr | sed 's|msgstr "\(.*\)"|\1|') ;\ + translation=$$(head -n "$$line" "$<" | tail -1 | grep msgstr | sed 's|msgstr "\([^"]*\)"|\1|') ;\ if [ "$$translation" != "" ]; then \ sed "N;s@\(p\?x\?ref\){$$(echo $$e | sed 's| |[\\n ]|g')\(,\|}\)@\1{$$translation\2@g;P;D" -i "$@.tmp" ;\ fi ;\ |