]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.2145: intstalltutor Makefile target does not create the tutor/sv dir v9.1.2145
authorRoss Burton <ross.burton@arm.com>
Thu, 12 Feb 2026 16:50:03 +0000 (17:50 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 12 Feb 2026 16:52:06 +0000 (17:52 +0100)
Problem:  intstalltutor Makefile target does not create the tutor/sv dir
Solution: Add the missing mkdir() calls to the Makefile (Ross Burton)

The installtutor target doesn't explicitly create the Swedish directory
that it is going to put files into:

  make[1]: Entering directory 'vim-9.1.2128/src'
  /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91
  chmod 755 DESTDIR/usr/share/vim/vim91
  /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/en
  chmod 755 DESTDIR/usr/share/vim/vim91/tutor/en
  /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/sr
  chmod 755 DESTDIR/usr/share/vim/vim91/tutor/sr
  /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/it
  chmod 755 DESTDIR/usr/share/vim/vim91/tutor/it
  /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/ru
  chmod 755 DESTDIR/usr/share/vim/vim91/tutor/ru
  cp ../runtime/tutor/README* ../runtime/tutor/tutor* DESTDIR/usr/share/vim/vim91/tutor
  cp ../runtime/tutor/en/* DESTDIR/usr/share/vim/vim91/tutor/en/
  cp ../runtime/tutor/it/* DESTDIR/usr/share/vim/vim91/tutor/it/
  cp ../runtime/tutor/ru/* DESTDIR/usr/share/vim/vim91/tutor/ru/
  cp ../runtime/tutor/sr/* DESTDIR/usr/share/vim/vim91/tutor/sr/
  cp ../runtime/tutor/sv/* DESTDIR/usr/share/vim/vim91/tutor/sv/
  cp: target 'DESTDIR/usr/share/vim/vim91/tutor/sv/': No such file or directory

Add the missing dependency on $(DEST_TUTOR)/sv to ensure this directory
is created.

closes: #19385

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/version9.txt
src/Makefile
src/version.c

index 880ea1f706225c0fdfcbb2ce5fc5dd32153b8ef3..3644d1760222ec04359ef37f976b18fed283d185 100644 (file)
@@ -1,4 +1,4 @@
-*version9.txt* For Vim version 9.1.  Last change: 2026 Feb 09
+*version9.txt* For Vim version 9.1.  Last change: 2026 Feb 12
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -52549,4 +52549,8 @@ Solution: In garbage_collect(), iterate through all buffers and call
           set_ref_in_list() for b_recorded_changes to ensure the list
           and its contents are marked as reachable (Paul Ollis).
 
+Patch 9.1.2145
+Problem:  intstalltutor Makefile target does not create the tutor/sv dir
+Solution: Add the missing mkdir() calls to the Makefile (Ross Burton)
+
  vim:tw=78:ts=8:noet:ft=help:norl:fdm=manual:nofoldenable
index 75d8ff6c1c647bf9c0dccbd9b176910cd470a950..b4c31bed607217d980e39dde366a5f45a8faaa81 100644 (file)
@@ -2487,7 +2487,7 @@ installgtutorbin: $(DEST_BIN)
        $(INSTALL_DATA) gvimtutor $(DEST_BIN)/$(GVIMNAME)tutor
        chmod $(SCRIPTMOD) $(DEST_BIN)/$(GVIMNAME)tutor
 
-installtutor: $(DEST_RT) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_TUTOR)/sr $(DEST_TUTOR)/ru
+installtutor: $(DEST_RT) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_TUTOR)/sr $(DEST_TUTOR)/sv $(DEST_TUTOR)/ru
        -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
        -$(INSTALL_DATA) $(TUTORSOURCE)/en/* $(DEST_TUTOR)/en/
        -$(INSTALL_DATA) $(TUTORSOURCE)/it/* $(DEST_TUTOR)/it/
index f677f448a574a35fd279fa69ac0dba71785286dd..0819639cbc17907faf15c43e4b9227c1dca1a05a 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2145,
 /**/
     2144,
 /**/