From: Eli Zaretskii Date: Wed, 12 Jun 2024 08:46:36 +0000 (+0300) Subject: Fix info/DIR generation broken by update to Org manual X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=75c71c72fc6cbb0f895fdaf9d46417bb5693e1ae;p=emacs.git Fix info/DIR generation broken by update to Org manual * build-aux/make-info-dir: Adapt to latest changes in Org manual's markup. (cherry picked from commit eb5aafb0f4cf7d2f5f12e2eb3a4324c3d5834db7) --- diff --git a/build-aux/make-info-dir b/build-aux/make-info-dir index 214757bb65b..38b4d70caee 100755 --- a/build-aux/make-info-dir +++ b/build-aux/make-info-dir @@ -86,7 +86,7 @@ exec "${AWK-awk}" ' for (dircat = 0; dircat < ntopics && topic[dircat] != $0; dircat++) continue; } - if (tolower($0) ~ /^#\+texinfo_dir_title/) { + if (tolower($0) ~ /^#\+(texinfo_dir_title|texinfo_dir_name)/) { sub(/^#[^:]*: /, "") ## Note this does not fill any long descriptions. data[dircat] = data[dircat] sprintf("* %-30s", ($0 ". "))