Mercurial > vim
diff src/Make_mvc.mak @ 18853:5ecefcbd12a1 v8.1.2413
patch 8.1.2413: cannot update ex_cmdidxs.h on MS-Windows
Commit: https://github.com/vim/vim/commit/0ba89ec47c4c43414a89a6944803e2e1331a761d
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 9 21:48:11 2019 +0100
patch 8.1.2413: cannot update ex_cmdidxs.h on MS-Windows
Problem: Cannot update ex_cmdidxs.h on MS-Windows.
Solution: Add build rules and dependencies. (Ken Takata, closes https://github.com/vim/vim/issues/5337)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 Dec 2019 22:00:04 +0100 |
parents | 217c97e06615 |
children | 9a723f1e2d4e |
line wrap: on
line diff
--- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -1411,6 +1411,13 @@ clean: testclean $(MAKE) /NOLOGO -f Makefile clean cd .. +# Run vim script to generate the Ex command lookup table. +# This only needs to be run when a command name has been added or changed. +# If this fails because you don't have Vim yet, first build and install Vim +# without changes. +cmdidxs: ex_cmds.h + vim --clean -X -u create_cmdidxs.vim + test: cd testdir $(MAKE) /NOLOGO -f Make_dos.mak win32 @@ -1530,7 +1537,7 @@ testclean: $(OUTDIR)/ex_cmds2.obj: $(OUTDIR) ex_cmds2.c $(INCL) -$(OUTDIR)/ex_docmd.obj: $(OUTDIR) ex_docmd.c $(INCL) +$(OUTDIR)/ex_docmd.obj: $(OUTDIR) ex_docmd.c $(INCL) ex_cmdidxs.h $(OUTDIR)/ex_eval.obj: $(OUTDIR) ex_eval.c $(INCL)