From 75c71c72fc6cbb0f895fdaf9d46417bb5693e1ae Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 12 Jun 2024 11:46:36 +0300 Subject: [PATCH] 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) --- build-aux/make-info-dir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ". ")) -- 2.39.2