Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
27793:9f9b1130c9c9 | 27794:77a95d7d5676 |
---|---|
2138 # This only needs to be run when a command name has been added or changed. | 2138 # This only needs to be run when a command name has been added or changed. |
2139 # If this fails because you don't have Vim yet, first build and install Vim | 2139 # If this fails because you don't have Vim yet, first build and install Vim |
2140 # without changes. | 2140 # without changes. |
2141 # This requires a "vim" executable with the +eval feature. | 2141 # This requires a "vim" executable with the +eval feature. |
2142 cmdidxs: ex_cmds.h | 2142 cmdidxs: ex_cmds.h |
2143 vim --clean -X --not-a-term -u create_cmdidxs.vim -c quit | 2143 vim --clean -X --not-a-term -S create_cmdidxs.vim -c quit |
2144 | 2144 |
2145 # Run vim script to generate the normal/visual mode command lookup table. | 2145 # Run vim script to generate the normal/visual mode command lookup table. |
2146 # This only needs to be run when a new normal/visual mode command has been | 2146 # This only needs to be run when a new normal/visual mode command has been |
2147 # added. | 2147 # added. |
2148 # This requires a "vim" executable with the +eval feature. | 2148 # This requires a "vim" executable with the +eval feature. |
2149 # If this fails because you don't have Vim yet: | 2149 # If this fails because you don't have Vim yet: |
2150 # - change nv_cmds[] in nv_cmds.h to add the new normal/visual mode command. | 2150 # - change nv_cmds[] in nv_cmds.h to add the new normal/visual mode command. |
2151 # - run "make nvcmdidxs" to generate nv_cmdidxs.h | 2151 # - run "make nvcmdidxs" to generate nv_cmdidxs.h |
2152 nvcmdidxs: auto/config.mk nv_cmds.h | 2152 nvcmdidxs: auto/config.mk nv_cmds.h |
2153 $(CC) -I$(srcdir) $(ALL_CFLAGS) create_nvcmdidxs.c -o create_nvcmdidxs | 2153 $(CC) -I$(srcdir) $(ALL_CFLAGS) create_nvcmdidxs.c -o create_nvcmdidxs |
2154 vim --clean -X --not-a-term -u create_nvcmdidxs.vim -c quit | 2154 vim --clean -X --not-a-term -S create_nvcmdidxs.vim -c quit |
2155 -rm -f create_nvcmdidxs | 2155 -rm -f create_nvcmdidxs |
2156 | 2156 |
2157 # The normal command to compile a .c file to its .o file. | 2157 # The normal command to compile a .c file to its .o file. |
2158 # Without or with ALL_CFLAGS. | 2158 # Without or with ALL_CFLAGS. |
2159 CCC_NF = $(CC) -c -I$(srcdir) | 2159 CCC_NF = $(CC) -c -I$(srcdir) |
3028 -ln -s ../pixmaps . | 3028 -ln -s ../pixmaps . |
3029 | 3029 |
3030 # Update the synmenu.vim file with the latest Syntax menu. | 3030 # Update the synmenu.vim file with the latest Syntax menu. |
3031 # This is only needed when runtime/makemenu.vim was changed. | 3031 # This is only needed when runtime/makemenu.vim was changed. |
3032 menu: ./vim ../runtime/makemenu.vim | 3032 menu: ./vim ../runtime/makemenu.vim |
3033 ./vim --clean -X --not-a-term -u ../runtime/makemenu.vim | 3033 ./vim --clean -X --not-a-term -S ../runtime/makemenu.vim |
3034 | 3034 |
3035 # Start configure from scratch | 3035 # Start configure from scratch |
3036 scrub scratch: | 3036 scrub scratch: |
3037 -rm -f auto/config.status auto/config.cache config.log auto/config.log | 3037 -rm -f auto/config.status auto/config.cache config.log auto/config.log |
3038 -rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk | 3038 -rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk |