Mercurial > vim
comparison Makefile @ 10032:f0b1cbf9467e v7.4.2288
commit https://github.com/vim/vim/commit/cb03397abae22e7237511db2e19ad5ef3e5e5f4e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 28 20:14:38 2016 +0200
patch 7.4.2288
Problem: MS-Windows build instructions are clumsy. "dosbin" doesn't build.
Solution: Add rename.bat. Fix building "dosbin".
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 28 Aug 2016 20:15:05 +0200 |
parents | 62b7fb15ff7e |
children | 8bfcb960e6bd |
comparison
equal
deleted
inserted
replaced
10031:26b42dadc9ea | 10032:f0b1cbf9467e |
---|---|
135 # For Windows 98/ME the 2003 version is required, but then the executable | 135 # For Windows 98/ME the 2003 version is required, but then the executable |
136 # won't work on Windows 7 and 64 bit systems. | 136 # won't work on Windows 7 and 64 bit systems. |
137 # - > cd src | 137 # - > cd src |
138 # > nmake -f Make_mvc.mak | 138 # > nmake -f Make_mvc.mak |
139 # - Run the tests: | 139 # - Run the tests: |
140 # > rm testdir/*.out testdir/*.res | 140 # > nmake -f Make_mvc.mak testclean |
141 # > nmake -f Make_mvc.mak test | 141 # > nmake -f Make_mvc.mak test |
142 # - check the output. | 142 # - check the output. |
143 # - Rename: vim.exe to vimw32.exe, | 143 # - Rename (using tools/rename.bat): |
144 # tee/tee.exe to teew32.exe, | 144 # vim.exe to vimw32.exe |
145 # tee/tee.exe to teew32.exe | |
145 # xxd/xxd.exe to xxdw32.exe | 146 # xxd/xxd.exe to xxdw32.exe |
146 # - Rename vim.pdb to vimw32.pdb. | 147 # vim.pdb to vimw32.pdb |
147 # - Rename install.exe to installw32.exe and uninstal.exe to uninstalw32.exe. | 148 # install.exe to installw32.exe |
149 # uninstal.exe to uninstalw32.exe | |
148 # Win32 GUI version build: | 150 # Win32 GUI version build: |
149 # - > cd src | 151 # - > cd src |
150 # > nmake -f Make_mvc.mak GUI=yes | 152 # > nmake -f Make_mvc.mak GUI=yes |
151 # - Run the tests: | 153 # - Run the tests: |
152 # > rm testdir/*.out testdir/*.res | 154 # > nmake -f Make_mvc.mak testclean |
153 # > nmake -f Make_mvc.mak testgvim | 155 # > nmake -f Make_mvc.mak testgvim |
154 # - check the output. | 156 # - check the output. |
155 # - move "gvim.exe" to here (otherwise the OLE version will overwrite it). | 157 # - move "gvim.exe" to here (otherwise the OLE version will overwrite it). |
156 # - Move gvim.pdb to here. | 158 # - Move gvim.pdb to here. |
157 # - Copy "GvimExt/gvimext.dll" to here. | 159 # - Copy "GvimExt/gvimext.dll" to here. |
161 # - Build: | 163 # - Build: |
162 # > cd src | 164 # > cd src |
163 # Adjust bigvim.bat to match the version of each interface you want. | 165 # Adjust bigvim.bat to match the version of each interface you want. |
164 # > bigvim.bat | 166 # > bigvim.bat |
165 # - Run the tests: | 167 # - Run the tests: |
166 # > rm testdir/*.out testdir/*.res | 168 # > nmake -f Make_mvc.mak testclean |
167 # > nmake -f Make_mvc.mak testgvim | 169 # > nmake -f Make_mvc.mak testgvim |
168 # - check the output. | 170 # - check the output. |
169 # - Rename "gvim.exe" to "gvim_ole.exe". | 171 # - Rename "gvim.exe" to "gvim_ole.exe". |
170 # - Rename gvim.pdb to "gvim_ole.pdb". | 172 # - Rename gvim.pdb to "gvim_ole.pdb". |
171 # - Delete install.exe and uninstal.exe. | 173 # - Delete install.exe and uninstal.exe. |
471 -rm -rf `find runtime/dos -type f -print | sed -e /AAPDIR/d` | 473 -rm -rf `find runtime/dos -type f -print | sed -e /AAPDIR/d` |
472 cd dist/vim/$(VIMRTDIR); tar cf - * \ | 474 cd dist/vim/$(VIMRTDIR); tar cf - * \ |
473 | (cd ../../../runtime/dos; tar xf -) | 475 | (cd ../../../runtime/dos; tar xf -) |
474 | 476 |
475 dosbin: prepare dosbin_gvim dosbin_w32 dosbin_ole $(DOSBIN_S) | 477 dosbin: prepare dosbin_gvim dosbin_w32 dosbin_ole $(DOSBIN_S) |
478 -rm $(IN_README_DIR) | |
476 | 479 |
477 # make Win32 gvim | 480 # make Win32 gvim |
478 dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM) | 481 dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM) |
479 -rm -rf dist/gvim$(VERSION).zip | 482 -rm -rf dist/gvim$(VERSION).zip |
480 -rm -rf dist/vim | 483 -rm -rf dist/vim |
481 mkdir dist/vim | 484 mkdir dist/vim |
482 mkdir dist/vim/$(VIMRTDIR) | 485 mkdir dist/vim/$(VIMRTDIR) |
483 tar cf - \ | 486 tar cf - \ |
484 $(BIN_DOS) \ | 487 $(BIN_DOS) \ |
485 | (cd dist/vim/$(VIMRTDIR); tar xf -) | 488 | (cd dist/vim/$(VIMRTDIR); tar xf -) |
486 -rm $(IN_README_DIR) | |
487 cp gvim.exe dist/vim/$(VIMRTDIR)/gvim.exe | 489 cp gvim.exe dist/vim/$(VIMRTDIR)/gvim.exe |
488 cp teew32.exe dist/vim/$(VIMRTDIR)/tee.exe | 490 cp teew32.exe dist/vim/$(VIMRTDIR)/tee.exe |
489 cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe | 491 cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe |
490 cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe | 492 cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe |
491 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe | 493 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe |