summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/Makefile2
-rw-r--r--runtime/doc/various.txt8
2 files changed, 7 insertions, 3 deletions
diff --git a/runtime/doc/Makefile b/runtime/doc/Makefile
index 83eb9e453..ad08a87e2 100644
--- a/runtime/doc/Makefile
+++ b/runtime/doc/Makefile
@@ -301,7 +301,7 @@ all: tags vim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED)
# Use Vim to generate the tags file. Can only be used when Vim has been
# compiled and installed. Supports multiple languages.
vimtags: $(DOCS)
- $(VIMEXE) -u NONE -esX -c "helptags ." -c quit
+ $(VIMEXE) -u NONE -esX -c "helptags ++t ." -c quit
# Use "doctags" to generate the tags file. Only works for English!
tags: doctags $(DOCS)
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index d5ce26471..8c564c616 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt* For Vim version 7.1. Last change: 2007 Jan 14
+*various.txt* For Vim version 7.1. Last change: 2008 Jan 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -748,7 +748,8 @@ command: >
*:helpt* *:helptags*
*E154* *E150* *E151* *E152* *E153* *E670*
-:helpt[ags] {dir} Generate the help tags file(s) for directory {dir}.
+:helpt[ags] [++t] {dir}
+ Generate the help tags file(s) for directory {dir}.
All "*.txt" and "*.??x" files in the directory are
scanned for a help tag definition in between stars.
The "*.??x" files are for translated docs, they
@@ -756,6 +757,9 @@ command: >
The generated tags files are sorted.
When there are duplicates an error message is given.
An existing tags file is silently overwritten.
+ The optional "++t" argument forces adding the
+ "help-tags" tag. This is also done when the {dir} is
+ equal to $VIMRUNTIME/doc.
To rebuild the help tags in the runtime directory
(requires write permission there): >
:helptags $VIMRUNTIME/doc