From: Mustafa Elrasheid Date: Sat, 27 Dec 2025 12:52:44 +0000 (+0300) Subject: docs: Makefile: wrap SPHINXDIRS help text X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ee50b15d240d36453ec7274b071310cca349868;p=thirdparty%2Flinux.git 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 Acked-by: Randy Dunlap Tested-by: Randy Dunlap Signed-off-by: Jonathan Corbet Message-ID: <20251227125244.6407-1-mustafaelrasheid@gmail.com> --- diff --git a/Documentation/Makefile b/Documentation/Makefile index e96ac6dcac4f1..377a449656c81 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