Skip to content

Commit cb03397

Browse files
committed
patch 7.4.2288
Problem: MS-Windows build instructions are clumsy. "dosbin" doesn't build. Solution: Add rename.bat. Fix building "dosbin".
1 parent 6fc8227 commit cb03397

4 files changed

Lines changed: 19 additions & 8 deletions

File tree

Filelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ SRC_DOS = \
316316
src/Make_dvc.mak \
317317
src/Make_ming.mak \
318318
src/Make_mvc.mak \
319+
tools/rename.bat \
319320
src/bigvim.bat \
320321
src/bigvim64.bat \
321322
src/msvcsetup.bat \

Makefile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,19 +137,21 @@ MINOR = 4
137137
# - > cd src
138138
# > nmake -f Make_mvc.mak
139139
# - Run the tests:
140-
# > rm testdir/*.out testdir/*.res
140+
# > nmake -f Make_mvc.mak testclean
141141
# > nmake -f Make_mvc.mak test
142142
# - check the output.
143-
# - Rename: vim.exe to vimw32.exe,
144-
# tee/tee.exe to teew32.exe,
143+
# - Rename (using tools/rename.bat):
144+
# vim.exe to vimw32.exe
145+
# tee/tee.exe to teew32.exe
145146
# xxd/xxd.exe to xxdw32.exe
146-
# - Rename vim.pdb to vimw32.pdb.
147-
# - Rename install.exe to installw32.exe and uninstal.exe to uninstalw32.exe.
147+
# vim.pdb to vimw32.pdb
148+
# install.exe to installw32.exe
149+
# uninstal.exe to uninstalw32.exe
148150
# Win32 GUI version build:
149151
# - > cd src
150152
# > nmake -f Make_mvc.mak GUI=yes
151153
# - Run the tests:
152-
# > rm testdir/*.out testdir/*.res
154+
# > nmake -f Make_mvc.mak testclean
153155
# > nmake -f Make_mvc.mak testgvim
154156
# - check the output.
155157
# - move "gvim.exe" to here (otherwise the OLE version will overwrite it).
@@ -163,7 +165,7 @@ MINOR = 4
163165
# Adjust bigvim.bat to match the version of each interface you want.
164166
# > bigvim.bat
165167
# - Run the tests:
166-
# > rm testdir/*.out testdir/*.res
168+
# > nmake -f Make_mvc.mak testclean
167169
# > nmake -f Make_mvc.mak testgvim
168170
# - check the output.
169171
# - Rename "gvim.exe" to "gvim_ole.exe".
@@ -473,6 +475,7 @@ runtime_unix2dos: dosrt_files
473475
| (cd ../../../runtime/dos; tar xf -)
474476

475477
dosbin: prepare dosbin_gvim dosbin_w32 dosbin_ole $(DOSBIN_S)
478+
-rm $(IN_README_DIR)
476479

477480
# make Win32 gvim
478481
dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM)
@@ -483,7 +486,6 @@ dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM)
483486
tar cf - \
484487
$(BIN_DOS) \
485488
| (cd dist/vim/$(VIMRTDIR); tar xf -)
486-
-rm $(IN_README_DIR)
487489
cp gvim.exe dist/vim/$(VIMRTDIR)/gvim.exe
488490
cp teew32.exe dist/vim/$(VIMRTDIR)/tee.exe
489491
cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ static char *(features[]) =
763763

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2288,
766768
/**/
767769
2287,
768770
/**/

tools/rename.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mv vim.exe vimw32.exe
2+
mv tee/tee.exe teew32.exe
3+
mv xxd/xxd.exe xxdw32.exe
4+
mv vim.pdb vimw32.pdb
5+
mv install.exe installw32.exe
6+
mv uninstal.exe uninstalw32.exe

0 commit comments

Comments
 (0)