runtime(doc): disable color codes when generating ascii man pages in Makefile

Commit: 
https://github.com/vim/vim/commit/a907a7f73be9091708a5192a005f365a160856c4
Author: Christian Brabandt <[email protected]>
Date:   Thu Mar 19 21:26:50 2026 +0000

    runtime(doc): disable color codes when generating ascii man pages in 
Makefile
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/doc/Makefile b/runtime/doc/Makefile
index 5092f822d..47bf385ca 100644
--- a/runtime/doc/Makefile
+++ b/runtime/doc/Makefile
@@ -35,19 +35,19 @@ doctags: doctags.c
        $(CC) doctags.c -o doctags
 
 vim.man: vim.1
-       nroff -man $? | sed -e s/. //g > $@
+       nroff -c -man $? | sed -e s/. //g > $@
 
 evim.man: evim.1
-       nroff -man $? | sed -e s/. //g > $@
+       nroff -c -man $? | sed -e s/. //g > $@
 
 vimdiff.man: vimdiff.1
-       nroff -man $? | sed -e s/. //g > $@
+       nroff -c -man $? | sed -e s/. //g > $@
 
 vimtutor.man: vimtutor.1
-       nroff -man $? | sed -e s/. //g > $@
+       nroff -c -man $? | sed -e s/. //g > $@
 
 xxd.man: xxd.1
-       nroff -man $? | sed -e s/. //g > $@
+       nroff -c -man $? | sed -e s/. //g > $@
 
 # Awk version of .txt to .html conversion.
 html: noerrors tags $(HTMLS)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1w3KwP-00DhgX-HG%40256bit.org.

Raspunde prin e-mail lui