From 7a8de76603f813a1554043330fcc8d87c403ed02 Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Tue, 31 Jan 2023 16:06:27 +0100 Subject: [PATCH] make: fix make doc error This seems to fix issue #5941 Certain make version(?) will parse the ')' as function end when not inside "" but ''. Changelog-None --- doc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index 764e5c890fdc..1562ca9c559c 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -212,7 +212,7 @@ doc/index.rst: $(MANPAGES:=.md) @$(call VERBOSE, "genidx $@", \ find doc -maxdepth 1 -name '*\.[0-9]\.md' | \ cut -b 5- | LC_ALL=C sort | \ - sed 's/\(.*\)\.\(.*\).*\.md/\1 <\1.\2.md>/' | \ + sed "s/\(.*\)\.\(.*\).*\.md/\1 <\1.\2.md>/" | \ python3 devtools/blockreplace.py doc/index.rst manpages --language=rst --indent " " \ )