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 " " \ )