diff src/Makefile @ 27794:77a95d7d5676 v8.2.4423

patch 8.2.4423: "make nvcmdidxs" fails Commit: https://github.com/vim/vim/commit/d56eb654f50434ea590142c0f080efba91bfe7f8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 19 16:00:16 2022 +0000 patch 8.2.4423: "make nvcmdidxs" fails Problem: "make nvcmdidxs" fails. Solution: Use "-S" instead of "-u" to source the script.
author Bram Moolenaar <Bram@vim.org>
date Sat, 19 Feb 2022 17:15:02 +0100
parents a7b8f78dd868
children f1799ba16729
line wrap: on
line diff
--- a/src/Makefile
+++ b/src/Makefile
@@ -2140,7 +2140,7 @@ autoconf:
 # without changes.
 # This requires a "vim" executable with the +eval feature.
 cmdidxs: ex_cmds.h
-	vim --clean -X --not-a-term -u create_cmdidxs.vim -c quit
+	vim --clean -X --not-a-term -S create_cmdidxs.vim -c quit
 
 # Run vim script to generate the normal/visual mode command lookup table.
 # This only needs to be run when a new normal/visual mode command has been
@@ -2151,7 +2151,7 @@ cmdidxs: ex_cmds.h
 #   - run "make nvcmdidxs" to generate nv_cmdidxs.h
 nvcmdidxs: auto/config.mk nv_cmds.h
 	$(CC) -I$(srcdir) $(ALL_CFLAGS) create_nvcmdidxs.c -o create_nvcmdidxs
-	vim --clean -X --not-a-term -u create_nvcmdidxs.vim -c quit
+	vim --clean -X --not-a-term -S create_nvcmdidxs.vim -c quit
 	-rm -f create_nvcmdidxs
 
 # The normal command to compile a .c file to its .o file.
@@ -3030,7 +3030,7 @@ pixmaps:
 # Update the synmenu.vim file with the latest Syntax menu.
 # This is only needed when runtime/makemenu.vim was changed.
 menu: ./vim ../runtime/makemenu.vim
-	./vim --clean -X --not-a-term -u ../runtime/makemenu.vim
+	./vim --clean -X --not-a-term -S ../runtime/makemenu.vim
 
 # Start configure from scratch
 scrub scratch: