summaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorMustafa Elrasheid <mustafaelrasheid@gmail.com>2025-12-27 15:52:44 +0300
committerJonathan Corbet <corbet@lwn.net>2026-01-06 14:37:08 -0700
commit8ee50b15d240d36453ec7274b071310cca349868 (patch)
tree60fd5de02994a37332bac00a163938816192a150 /Documentation/Makefile
parente970637707f4f8e5bd098b09090b755f2f57898b (diff)
downloadlinux-next-8ee50b15d240d36453ec7274b071310cca349868.tar.gz
linux-next-8ee50b15d240d36453ec7274b071310cca349868.zip
docs: Makefile: wrap SPHINXDIRS help text
When using `make help`, SPHINXDIR doesn't wrap around 80 characters, causing text to overflow or wrap in incorrect ways, which then makes the text difficult to read Signed-off-by: Mustafa Elrasheid <mustafaelrasheid@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20251227125244.6407-1-mustafaelrasheid@gmail.com>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index e96ac6dcac4f..377a449656c8 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -98,7 +98,8 @@ dochelp:
@echo ' cleandocs - clean all generated files'
@echo
@echo ' make SPHINXDIRS="s1 s2" [target] Generate only docs of folder s1, s2'
- @echo ' top level values for SPHINXDIRS are: $(_SPHINXDIRS)'
+ @echo ' top level values for SPHINXDIRS are:'
+ @echo '$(_SPHINXDIRS)' | fmt -s -w 75 -g 75 | sed 's/^/ /'
@echo ' you may also use a subdirectory like SPHINXDIRS=userspace-api/media,'
@echo ' provided that there is an index.rst file at the subdirectory.'
@echo