1
0
forked from aniani/vim

patch 9.1.0932: new Italian tutor not installed

Problem:  new Italian tutor not installed
Solution: add Makefile rule, include it into the Filelist
          ("Philip H." <47042125+pheiduck@users.noreply.github.com>),
          update the tutors help file

closes: #16215

Co-authored-by: Philip H. <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Philip H. <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-12-16 20:11:04 +01:00
parent 0a4e57f44a
commit 3f7d584e96
5 changed files with 28 additions and 14 deletions

View File

@@ -769,6 +769,8 @@ RT_ALL = \
runtime/tutor/tutor1 \ runtime/tutor/tutor1 \
runtime/tutor/en/vim-01-beginner.tutor \ runtime/tutor/en/vim-01-beginner.tutor \
runtime/tutor/en/vim-01-beginner.tutor.json \ runtime/tutor/en/vim-01-beginner.tutor.json \
runtime/tutor/it/vim-01-beginner.tutor \
runtime/tutor/it/vim-01-beginner.tutor.json \
runtime/tutor/tutor.tutor \ runtime/tutor/tutor.tutor \
runtime/tutor/tutor.tutor.json \ runtime/tutor/tutor.tutor.json \
runtime/tutor/tutor.vim \ runtime/tutor/tutor.vim \

View File

@@ -1,4 +1,4 @@
*pi_tutor.txt* For Vim version 9.1. Last change: 2024 Nov 09 *pi_tutor.txt* For Vim version 9.1. Last change: 2024 Dec 16
INTERACTIVE TUTORIALS FOR VIM *vim-tutor-mode* INTERACTIVE TUTORIALS FOR VIM *vim-tutor-mode*
@@ -16,21 +16,28 @@ by double-clicking them.
1.1 Commands 1.1 Commands
------------ ------------
*:Tutor* *:Tutor*
:Tutor {tutorial} Opens a tutorial. Command-line completion for :Tutor [tutorial] Opens a tutorial. Command-line completion for
{tutorial} is provided, the candidates are a list of [tutorial] is provided, the candidates are a list of
'.tutor' files found in the 'tutor/' folder in ".tutor" files found in the "tutor/<lang>/" folder in
the 'runtimepath'. Tutorials prefixed with 'vim-' the 'runtimepath'. Tutorials prefixed with "vim-"
will always be shown first. will always be shown first.
If no {tutorial} is provided, the command starts the If no [tutorial] is provided, the command starts the
'vim-01-beginner' tutorial, which is equivalent to "vim-01-beginner" tutorial, which is equivalent to
Vim's `vimtutor`. Vim's `vimtutor`, chapter 1.
Uses the translated tutorial for the current message
language if possible (|v:lang|), e.g. to open the
chapter 1 of the Italian tutor, use: >
:lang it_IT.utf-8
:Tutor
<
============================================================================= =============================================================================
2. Creating tutorials *vim-tutor-create* 2. Creating tutorials *vim-tutor-create*
Writing vim-tutor-mode tutorials is easy. For an overview of the format used, Writing vim-tutor-mode tutorials is easy. For an overview of the format used,
please consult the 'tutor.tutor' file: > please consult the "tutor.tutor" file: >
:Tutor tutor :Tutor tutor
< <

View File

@@ -1,4 +1,4 @@
*usr_01.txt* For Vim version 9.1. Last change: 2024 Nov 03 *usr_01.txt* For Vim version 9.1. Last change: 2024 Dec 16
VIM USER MANUAL - by Bram Moolenaar VIM USER MANUAL - by Bram Moolenaar
@@ -110,8 +110,8 @@ For more info see |vimrc| and |compatible-default|.
For the interactive tutor, see |vim-tutor-mode| For the interactive tutor, see |vim-tutor-mode|
Instead of reading the text (boring!) you can use the vimtutor to learn your Instead of reading the text (boring!) you can use the vimtutor to learn your
first Vim commands. This is a 30-minute tutorial that teaches the most basic first Vim commands. This is a 30-minute tutorial provided in 2 chapters, that
Vim functionality hands-on. teaches the most basic Vim functionality hands-on.
On Unix, if Vim has been properly installed, you can start it from the shell: On Unix, if Vim has been properly installed, you can start it from the shell:
> >

View File

@@ -2346,7 +2346,7 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(VIMTARGET) $(DEST_RT) \
$(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \ $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \
$(DEST_AUTO)/rust $(DEST_AUTO)/cargo \ $(DEST_AUTO)/rust $(DEST_AUTO)/cargo \
$(DEST_IMPORT) $(DEST_IMPORT)/dist \ $(DEST_IMPORT) $(DEST_IMPORT)/dist \
$(DEST_PLUG) $(DEST_TUTOR) $(DEST_TUTOR)/en $(DEST_SPELL) $(DEST_COMP) $(DEST_PLUG) $(DEST_TUTOR) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_SPELL) $(DEST_COMP)
-$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS) -$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
# Generate the help tags with ":helptags" to handle all languages. # Generate the help tags with ":helptags" to handle all languages.
# Move the distributed tags file aside and restore it, to avoid it being # Move the distributed tags file aside and restore it, to avoid it being
@@ -2473,10 +2473,11 @@ installgtutorbin: $(DEST_BIN)
installtutor: $(DEST_RT) $(DEST_TUTOR) installtutor: $(DEST_RT) $(DEST_TUTOR)
-$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR) -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
-$(INSTALL_DATA) $(TUTORSOURCE)/en/* $(DEST_TUTOR)/en/ -$(INSTALL_DATA) $(TUTORSOURCE)/en/* $(DEST_TUTOR)/en/ $(DEST_TUTOR)/it/* $(DEST_TUTOR)/it/
-rm -f $(DEST_TUTOR)/*.info -rm -f $(DEST_TUTOR)/*.info
chmod $(HELPMOD) $(DEST_TUTOR)/* chmod $(HELPMOD) $(DEST_TUTOR)/*
chmod $(DIRMOD) $(DEST_TUTOR)/en chmod $(DIRMOD) $(DEST_TUTOR)/en
chmod $(DIRMOD) $(DEST_TUTOR)/it
# Install the spell files, if they exist. This assumes at least the English # Install the spell files, if they exist. This assumes at least the English
# spell file is there. # spell file is there.
@@ -2674,6 +2675,7 @@ $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
$(DEST_IND) $(DEST_FTP) \ $(DEST_IND) $(DEST_FTP) \
$(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) $(DEST_MACRO) \ $(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) $(DEST_MACRO) \
$(DEST_PACK) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_TUTOR)/en \ $(DEST_PACK) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_TUTOR)/en \
$(DEST_TUTOR)/it \
$(DEST_SPELL) \ $(DEST_SPELL) \
$(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \ $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \
$(DEST_AUTO)/cargo $(DEST_AUTO)/rust \ $(DEST_AUTO)/cargo $(DEST_AUTO)/rust \
@@ -2858,6 +2860,7 @@ uninstall_runtime:
-rm -rf $(DEST_MACRO) -rm -rf $(DEST_MACRO)
-rm -rf $(DEST_PACK) -rm -rf $(DEST_PACK)
-rm -rf $(DEST_TUTOR)/en -rm -rf $(DEST_TUTOR)/en
-rm -rf $(DEST_TUTOR)/it
-rm -rf $(DEST_TUTOR) -rm -rf $(DEST_TUTOR)
-rm -rf $(DEST_SPELL) -rm -rf $(DEST_SPELL)
-rm -rf $(DEST_TOOLS) -rm -rf $(DEST_TOOLS)

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
932,
/**/ /**/
931, 931,
/**/ /**/