summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorMike Edmunds <medmunds@gmail.com>2025-02-01 17:27:38 -0800
committerGitHub <noreply@github.com>2025-02-01 22:27:38 -0300
commit248d8457cbec631ef93d76137bc621106347adda (patch)
treef6477bff3e4b4b259d98af6642622d1ba4fe4f98 /docs/Makefile
parent4608d34b346c28d5d227363c881d3279378f40b3 (diff)
Fixed #36162 -- Fixed the `black` Makefile docs rule to work on macOS.
The `make black` target in the docs directory used Linux-specific syntax for its `find` command. Changed to syntax that also works on macOS and other BSD Unix variants.
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 15383bdd38..bbdd2bb4c8 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -170,7 +170,7 @@ spelling:
black:
@mkdir -p $(BUILDDIR)/black
- find -name "*.txt" -not -path "./_build/*" -not -path "./_theme/*" \
+ find . -name "*.txt" -not -path "./_build/*" -not -path "./_theme/*" \
| xargs blacken-docs --rst-literal-block; echo $$? > "$(BUILDDIR)/black/output.txt"
@echo
@echo "Code blocks reformatted"