comparison Makefile @ 7439:63a96fadf679 v7.4.1023

commit https://github.com/vim/vim/commit/2c15f6aa8fd057721e35d03523577b41cf7aaad5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 2 15:00:30 2016 +0100 patch 7.4.1023 Problem: The distribution files for MS-Windows use CR-LF, which is inconsistent with what one gets from github. Solution: Use LF in the distribution files.
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Jan 2016 15:15:04 +0100
parents 58958b8c9881
children 357b7bd8d612
comparison
equal deleted inserted replaced
7438:fd4803aafae6 7439:63a96fadf679
61 # OBSOLETE 61 # OBSOLETE
62 # amisrc vim##src.tgz sources for Amiga 62 # amisrc vim##src.tgz sources for Amiga
63 # amirt vim##rt.tgz runtime for Amiga 63 # amirt vim##rt.tgz runtime for Amiga
64 # amibin vim##bin.tgz binary for Amiga 64 # amibin vim##bin.tgz binary for Amiga
65 # 65 #
66 # os2bin vim##os2.zip binary for OS/2
67 # (use RT from dosrt)
68 #
69 # farsi farsi##.zip Farsi fonts 66 # farsi farsi##.zip Farsi fonts
70 # 67 #
71 # All output files are created in the "dist" directory. Existing files are 68 # All output files are created in the "dist" directory. Existing files are
72 # overwritten! 69 # overwritten!
73 # To do all this you need the Unix archive and compiled binaries. 70 # To do all this you need the Unix archive and compiled binaries.
87 84
88 # CHECKLIST for creating a new version: 85 # CHECKLIST for creating a new version:
89 # 86 #
90 # - Update Vim version number. For a test version in: src/version.h, Contents, 87 # - Update Vim version number. For a test version in: src/version.h, Contents,
91 # MAJOR/MINOR above, VIMMAJOR and VIMMINOR in src/Makefile, README*.txt, 88 # MAJOR/MINOR above, VIMMAJOR and VIMMINOR in src/Makefile, README*.txt,
92 # runtime/doc/*.txt and nsis/gvim.nsi. Other things in README_os2.txt. For a 89 # runtime/doc/*.txt and nsis/gvim.nsi.
93 # minor/major version: src/GvimExt/GvimExt.reg, src/vim.def, src/vim16.def, 90 # For a minor/major version: src/GvimExt/GvimExt.reg, src/vim.def,
94 # src/gvim.exe.mnf. 91 # src/vim16.def, src/gvim.exe.mnf.
95 # - Compile Vim with GTK, Perl, Python, Python3, TCL, Ruby, MZscheme, Lua (if 92 # - Compile Vim with GTK, Perl, Python, Python3, TCL, Ruby, MZscheme, Lua (if
96 # you can make it all work), Cscope and "huge" features. Exclude workshop 93 # you can make it all work), Cscope and "huge" features. Exclude workshop
97 # and SNiFF. 94 # and SNiFF.
98 # - With these features: "make proto" (requires cproto and Motif installed; 95 # - With these features: "make proto" (requires cproto and Motif installed;
99 # ignore warnings for missing include files, fix problems for syntax errors). 96 # ignore warnings for missing include files, fix problems for syntax errors).
130 # - Run the tests: "make -f Make_manx.mak test" 127 # - Run the tests: "make -f Make_manx.mak test"
131 # - Place the executables Vim and Xxd in this directory (set the executable 128 # - Place the executables Vim and Xxd in this directory (set the executable
132 # flag). 129 # flag).
133 # - "make amirt", "make amibin". 130 # - "make amirt", "make amibin".
134 # 131 #
135 # PC: 132 # MS-Windows:
136 # - Run make on Unix to update the ".mo" files. 133 # - Run make on Unix to update the ".mo" files.
137 # - "make dossrc" and "make dosrt". Unpack the archives on a PC. 134 # - > make dossrc
138 # Win32 console version: 135 # > make dosrt
139 # - Set environment for Visual C++ 2008, e.g.: "msvc2008.bat" Or: 136 # Unpack dist/vim##rt.zip and dist/vim##src.zip on an MS-Windows PC.
140 # "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat". 137 # Win32 console version build:
138 # - Set environment for Visual C++ 2008, e.g.:
139 # > src/msvc2008.bat
140 # Or:
141 # > C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat
141 # Or, when using the Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the 142 # Or, when using the Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the
142 # paths when necessary). 143 # paths when necessary).
143 # For Windows 98/ME the 2003 version is required, but then the executable 144 # For Windows 98/ME the 2003 version is required, but then the executable
144 # won't work on Windows 7 and 64 bit systems. 145 # won't work on Windows 7 and 64 bit systems.
145 # - "nmake -f Make_mvc.mak" (use the same path as for vcvars32.bat) 146 # - > cd src
147 # > nmake -f Make_mvc.mak
146 # - Run the tests: 148 # - Run the tests:
147 # > rm testdir/*.out 149 # > rm testdir/*.out testdir/*.res
148 # > nmake -f Make_mvc.mak test 150 # > nmake -f Make_mvc.mak test
149 # - check the output. 151 # - check the output.
150 # - Rename vim.exe to vimw32.exe, xxd/xxd.exe to xxdw32.exe. 152 # - Rename vim.exe to vimw32.exe, xxd/xxd.exe to xxdw32.exe.
151 # - Rename vim.pdb to vimw32.pdb. 153 # - Rename vim.pdb to vimw32.pdb.
152 # - Rename install.exe to installw32.exe and uninstal.exe to uninstalw32.exe. 154 # - Rename install.exe to installw32.exe and uninstal.exe to uninstalw32.exe.
153 # Win32 GUI version: 155 # Win32 GUI version build:
154 # - "nmake -f Make_mvc.mak GUI=yes" 156 # - > cd src
157 # > nmake -f Make_mvc.mak GUI=yes
155 # - Run the tests: 158 # - Run the tests:
156 # > cd testdir 159 # > rm testdir/*.out testdir/*.res
157 # > rm *.out 160 # > nmake -f Make_mvc.mak testgvim
158 # > nmake -f Make_dos.mak VIMPROG=..\gvim
159 # - check the output. 161 # - check the output.
160 # - move "gvim.exe" to here (otherwise the OLE version will overwrite it). 162 # - move "gvim.exe" to here (otherwise the OLE version will overwrite it).
161 # - Move gvim.pdb to here. 163 # - Move gvim.pdb to here.
164 # - Copy "GvimExt/gvimext.dll" to here.
162 # - Delete vimrun.exe, install.exe and uninstal.exe. 165 # - Delete vimrun.exe, install.exe and uninstal.exe.
163 # - Copy "GvimExt/gvimext.dll" to here.
164 # Win32 GUI version with OLE, PERL, TCL, PYTHON and dynamic IME: 166 # Win32 GUI version with OLE, PERL, TCL, PYTHON and dynamic IME:
165 # - Run src/bigvim.bat ("nmake -f Make_mvc.mak GUI=yes OLE=yes IME=yes ...) 167 # - Install the interfaces you want, see src/INSTALLpc.txt
168 # - Build:
169 # > cd src
170 # Adjust bigvim.bat to match the version of each interface you want.
171 # > bigvim.bat
166 # - Run the tests: 172 # - Run the tests:
167 # > cd testdir 173 # > rm testdir/*.out testdir/*.res
168 # > rm *.out 174 # > nmake -f Make_mvc.mak testgvim
169 # > nmake -f Make_dos.mak VIMPROG=..\gvim
170 # - check the output. 175 # - check the output.
171 # - Rename "gvim.exe" to "gvim_ole.exe". 176 # - Rename "gvim.exe" to "gvim_ole.exe".
172 # - Rename gvim.pdb to "gvim_ole.pdb". 177 # - Rename gvim.pdb to "gvim_ole.pdb".
173 # - Delete install.exe and uninstal.exe. 178 # - Delete install.exe and uninstal.exe.
174 # Create the archives: 179 # Create the archives:
175 # - Copy all the "*.exe" files to where this Makefile is. 180 # - Copy all the "*.exe" files to where this Makefile is.
176 # - Copy all the "*.pdb" files to where this Makefile is. 181 # - Copy all the "*.pdb" files to where this Makefile is.
177 # - "make dosbin". 182 # - in this directory:
183 # > make dosbin
178 # NSIS self installing exe: 184 # NSIS self installing exe:
179 # - To get NSIS see http://nsis.sourceforge.net 185 # - To get NSIS see http://nsis.sourceforge.net
180 # - Make sure gvim_ole.exe, vimw32.exe, installw32.exe, 186 # - Make sure gvim_ole.exe, vimw32.exe, installw32.exe,
181 # uninstalw32.exe and xxdw32.exe have been build as mentioned above. 187 # uninstalw32.exe and xxdw32.exe have been build as mentioned above.
182 # - copy these files (get them from a binary archive or build them): 188 # - copy these files (get them from a binary archive or build them):
184 # gvimext64.dll in src/GvimExt 190 # gvimext64.dll in src/GvimExt
185 # VisVim.dll in src/VisVim 191 # VisVim.dll in src/VisVim
186 # Note: VisVim needs to be build with MSVC 5, newer versions don't work. 192 # Note: VisVim needs to be build with MSVC 5, newer versions don't work.
187 # gvimext64.dll can be obtained from http://code.google.com/p/vim-win3264/ 193 # gvimext64.dll can be obtained from http://code.google.com/p/vim-win3264/
188 # It is part of vim72.zip as vim72/gvimext.dll. 194 # It is part of vim72.zip as vim72/gvimext.dll.
189 # - make sure there is a diff.exe two levels up 195 # - Make sure there is a diff.exe two levels up (get it from a previous Vim
190 # - go to ../nsis and do "makensis gvim.nsi" (takes a few minutes). 196 # version).
197 # - go to ../nsis and do:
198 # > makensis gvim.nsi (takes a few minutes).
191 # - Copy gvim##.exe to the dist directory. 199 # - Copy gvim##.exe to the dist directory.
192 # 200 #
193 # 64 bit builds (these are not in the normal distribution, the 32 bit build 201 # 64 bit builds (these are not in the normal distribution, the 32 bit build
194 # works just fine on 64 bit systems). 202 # works just fine on 64 bit systems).
195 # Like the console and GUI version, but first run vcvars64.bat or 203 # Like the console and GUI version, but first run vcvars64.bat or
196 # "..\VC\vcvarsall.bat x86_amd64". 204 # "..\VC\vcvarsall.bat x86_amd64".
197 # - "nmake -f Make_mvc.mak" 205 # - Build the console version:
198 # - "nmake -f Make_mvc.mak GUI=yes" 206 # > nmake -f Make_mvc.mak
199 # Or run src/bigvim64.bat for an OLE version. 207 # - Build the GUI version:
208 # > nmake -f Make_mvc.mak GUI=yes
209 # - Build the OLE version with interfaces:
210 # > bigvim64.bat
211 #
200 # 212 #
201 # OBSOLETE systems: You can build this if you have an appropriate system. 213 # OBSOLETE systems: You can build this if you have an appropriate system.
202 # 214 #
203 # 16 bit DOS version: (doesn't build anywhere) 215 # 16 bit DOS version: (doesn't build anywhere)
204 # - Set environment for compiling with Borland C++ 3.1. 216 # - Set environment for compiling with Borland C++ 3.1.
215 # - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output for 227 # - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output for
216 # "ALL DONE". 228 # "ALL DONE".
217 # - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and 229 # - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and
218 # "uninstald32.exe". 230 # "uninstald32.exe".
219 # 231 #
220 # Win32s GUI version: (requires very old compiler) 232 # Win32s GUI version: (requires a very old compiler)
221 # - Set environment for Visual C++ 4.1 (requires a new console window): 233 # - Set environment for Visual C++ 4.1 (requires a new console window):
222 # "vcvars32.bat" (use the path for VC 4.1 e:\msdev\bin) 234 # "vcvars32.bat" (use the path for VC 4.1 e:\msdev\bin)
223 # - "nmake -f Make_mvc.mak GUI=yes INTL=no clean" (use the path for VC 4.1) 235 # - "nmake -f Make_mvc.mak GUI=yes INTL=no clean" (use the path for VC 4.1)
224 # - "nmake -f Make_mvc.mak GUI=yes INTL=no" (use the path for VC 4.1) 236 # - "nmake -f Make_mvc.mak GUI=yes INTL=no" (use the path for VC 4.1)
225 # - Rename "gvim.exe" to "gvim_w32s.exe". 237 # - Rename "gvim.exe" to "gvim_w32s.exe".
268 COMMENT_W32 = comment/$(VERSION)-bin-w32 280 COMMENT_W32 = comment/$(VERSION)-bin-w32
269 COMMENT_GVIM = comment/$(VERSION)-bin-gvim 281 COMMENT_GVIM = comment/$(VERSION)-bin-gvim
270 COMMENT_OLE = comment/$(VERSION)-bin-ole 282 COMMENT_OLE = comment/$(VERSION)-bin-ole
271 COMMENT_W32S = comment/$(VERSION)-bin-w32s 283 COMMENT_W32S = comment/$(VERSION)-bin-w32s
272 COMMENT_SRC = comment/$(VERSION)-src 284 COMMENT_SRC = comment/$(VERSION)-src
273 COMMENT_OS2 = comment/$(VERSION)-bin-os2
274 COMMENT_HTML = comment/$(VERSION)-html 285 COMMENT_HTML = comment/$(VERSION)-html
275 COMMENT_FARSI = comment/$(VERSION)-farsi 286 COMMENT_FARSI = comment/$(VERSION)-farsi
276 287
277 dist/$(COMMENT_RT): dist/comment 288 dist/$(COMMENT_RT): dist/comment
278 echo "Vim - Vi IMproved - v$(VDOT) runtime files for MS-DOS and MS-Windows" > dist/$(COMMENT_RT) 289 echo "Vim - Vi IMproved - v$(VDOT) runtime files for MS-DOS and MS-Windows" > dist/$(COMMENT_RT)
295 dist/$(COMMENT_W32S): dist/comment 306 dist/$(COMMENT_W32S): dist/comment
296 echo "Vim - Vi IMproved - v$(VDOT) GUI binaries for MS-Windows 3.1/3.11" > dist/$(COMMENT_W32S) 307 echo "Vim - Vi IMproved - v$(VDOT) GUI binaries for MS-Windows 3.1/3.11" > dist/$(COMMENT_W32S)
297 308
298 dist/$(COMMENT_SRC): dist/comment 309 dist/$(COMMENT_SRC): dist/comment
299 echo "Vim - Vi IMproved - v$(VDOT) sources for MS-DOS and MS-Windows" > dist/$(COMMENT_SRC) 310 echo "Vim - Vi IMproved - v$(VDOT) sources for MS-DOS and MS-Windows" > dist/$(COMMENT_SRC)
300
301 dist/$(COMMENT_OS2): dist/comment
302 echo "Vim - Vi IMproved - v$(VDOT) binaries + runtime files for OS/2" > dist/$(COMMENT_OS2)
303 311
304 dist/$(COMMENT_HTML): dist/comment 312 dist/$(COMMENT_HTML): dist/comment
305 echo "Vim - Vi IMproved - v$(VDOT) documentation in HTML" > dist/$(COMMENT_HTML) 313 echo "Vim - Vi IMproved - v$(VDOT) documentation in HTML" > dist/$(COMMENT_HTML)
306 314
307 dist/$(COMMENT_FARSI): dist/comment 315 dist/$(COMMENT_FARSI): dist/comment
421 $(SRC_DOS_UNIX) \ 429 $(SRC_DOS_UNIX) \
422 runtime/doc/uganda.nsis.txt \ 430 runtime/doc/uganda.nsis.txt \
423 | (cd dist/vim/$(VIMRTDIR); tar xf -) 431 | (cd dist/vim/$(VIMRTDIR); tar xf -)
424 mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR) 432 mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
425 rmdir dist/vim/$(VIMRTDIR)/runtime 433 rmdir dist/vim/$(VIMRTDIR)/runtime
426 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \; 434 # This file needs to be in dos fileformat for NSIS.
435 $(VIM) -e -X -u no_title.vim -c ":set tx|wq" dist/vim/$(VIMRTDIR)/doc/uganda.nsis.txt
427 tar cf - \ 436 tar cf - \
428 $(SRC_DOS_BIN) \ 437 $(SRC_DOS_BIN) \
429 | (cd dist/vim/$(VIMRTDIR); tar xf -) 438 | (cd dist/vim/$(VIMRTDIR); tar xf -)
430 cd dist && zip -9 -rD -z vim$(VERSION)src.zip vim <$(COMMENT_SRC) 439 cd dist && zip -9 -rD -z vim$(VERSION)src.zip vim <$(COMMENT_SRC)
431 440
432 runtime/doc/uganda.nsis.txt: runtime/doc/uganda.txt 441 runtime/doc/uganda.nsis.txt: runtime/doc/uganda.txt
433 cd runtime/doc && $(MAKE) uganda.nsis.txt 442 cd runtime/doc && $(MAKE) uganda.nsis.txt
434 443
435 dosrt: dist dist/$(COMMENT_RT) dosrt_unix2dos 444 dosrt: dist dist/$(COMMENT_RT) dosrt_files
436 -rm -rf dist/vim$(VERSION)rt.zip 445 -rm -rf dist/vim$(VERSION)rt.zip
437 cd dist && zip -9 -rD -z vim$(VERSION)rt.zip vim <$(COMMENT_RT) 446 cd dist && zip -9 -rD -z vim$(VERSION)rt.zip vim <$(COMMENT_RT)
438 447
439 # Split in two parts to avoid an "argument list too long" error. 448 # Split in two parts to avoid an "argument list too long" error.
440 dosrt_unix2dos: dist prepare no_title.vim 449 # We no longer convert the files from unix to dos fileformat.
450 dosrt_files: dist prepare no_title.vim
441 -rm -rf dist/vim 451 -rm -rf dist/vim
442 mkdir dist/vim 452 mkdir dist/vim
443 mkdir dist/vim/$(VIMRTDIR) 453 mkdir dist/vim/$(VIMRTDIR)
444 mkdir dist/vim/$(VIMRTDIR)/lang 454 mkdir dist/vim/$(VIMRTDIR)/lang
445 cd src && MAKEMO=yes $(MAKE) languages 455 cd src && MAKEMO=yes $(MAKE) languages
451 $(RT_DOS) \ 461 $(RT_DOS) \
452 $(RT_NO_UNIX) \ 462 $(RT_NO_UNIX) \
453 $(RT_AMI_DOS) \ 463 $(RT_AMI_DOS) \
454 $(LANG_GEN) \ 464 $(LANG_GEN) \
455 | (cd dist/vim/$(VIMRTDIR); tar xf -) 465 | (cd dist/vim/$(VIMRTDIR); tar xf -)
456 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
457 tar cf - \ 466 tar cf - \
458 $(RT_UNIX_DOS_BIN) \ 467 $(RT_UNIX_DOS_BIN) \
459 $(RT_ALL_BIN) \ 468 $(RT_ALL_BIN) \
460 $(RT_DOS_BIN) \ 469 $(RT_DOS_BIN) \
461 $(LANG_GEN_BIN) \ 470 $(LANG_GEN_BIN) \
474 fi \ 483 fi \
475 done 484 done
476 cp libintl.dll dist/vim/$(VIMRTDIR)/ 485 cp libintl.dll dist/vim/$(VIMRTDIR)/
477 486
478 487
479 # Convert runtime files from Unix fileformat to dos fileformat.
480 # Used before uploading. Don't delete the AAPDIR/sign files! 488 # Used before uploading. Don't delete the AAPDIR/sign files!
481 runtime_unix2dos: dosrt_unix2dos 489 runtime_unix2dos: dosrt_files
482 -rm -rf `find runtime/dos -type f -print | sed -e /AAPDIR/d` 490 -rm -rf `find runtime/dos -type f -print | sed -e /AAPDIR/d`
483 cd dist/vim/$(VIMRTDIR); tar cf - * \ 491 cd dist/vim/$(VIMRTDIR); tar cf - * \
484 | (cd ../../../runtime/dos; tar xf -) 492 | (cd ../../../runtime/dos; tar xf -)
485 493
486 dosbin: prepare dosbin_gvim dosbin_w32 $(DOSBIN_D32) dosbin_ole $(DOSBIN_S) $(DOSBIN_D16) 494 dosbin: prepare dosbin_gvim dosbin_w32 $(DOSBIN_D32) dosbin_ole $(DOSBIN_S) $(DOSBIN_D16)
492 mkdir dist/vim 500 mkdir dist/vim
493 mkdir dist/vim/$(VIMRTDIR) 501 mkdir dist/vim/$(VIMRTDIR)
494 tar cf - \ 502 tar cf - \
495 $(BIN_DOS) \ 503 $(BIN_DOS) \
496 | (cd dist/vim/$(VIMRTDIR); tar xf -) 504 | (cd dist/vim/$(VIMRTDIR); tar xf -)
497 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
498 cp gvim.exe dist/vim/$(VIMRTDIR)/gvim.exe 505 cp gvim.exe dist/vim/$(VIMRTDIR)/gvim.exe
499 cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe 506 cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
500 cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe 507 cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe
501 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe 508 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
502 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe 509 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
511 mkdir dist/vim 518 mkdir dist/vim
512 mkdir dist/vim/$(VIMRTDIR) 519 mkdir dist/vim/$(VIMRTDIR)
513 tar cf - \ 520 tar cf - \
514 $(BIN_DOS) \ 521 $(BIN_DOS) \
515 | (cd dist/vim/$(VIMRTDIR); tar xf -) 522 | (cd dist/vim/$(VIMRTDIR); tar xf -)
516 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
517 cp vimw32.exe dist/vim/$(VIMRTDIR)/vim.exe 523 cp vimw32.exe dist/vim/$(VIMRTDIR)/vim.exe
518 cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe 524 cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
519 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe 525 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
520 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe 526 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
521 cd dist && zip -9 -rD -z vim$(VERSION)w32.zip vim <$(COMMENT_W32) 527 cd dist && zip -9 -rD -z vim$(VERSION)w32.zip vim <$(COMMENT_W32)
528 mkdir dist/vim 534 mkdir dist/vim
529 mkdir dist/vim/$(VIMRTDIR) 535 mkdir dist/vim/$(VIMRTDIR)
530 tar cf - \ 536 tar cf - \
531 $(BIN_DOS) \ 537 $(BIN_DOS) \
532 | (cd dist/vim/$(VIMRTDIR); tar xf -) 538 | (cd dist/vim/$(VIMRTDIR); tar xf -)
533 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
534 cp vimd32.exe dist/vim/$(VIMRTDIR)/vim.exe 539 cp vimd32.exe dist/vim/$(VIMRTDIR)/vim.exe
535 cp xxdd32.exe dist/vim/$(VIMRTDIR)/xxd.exe 540 cp xxdd32.exe dist/vim/$(VIMRTDIR)/xxd.exe
536 cp installd32.exe dist/vim/$(VIMRTDIR)/install.exe 541 cp installd32.exe dist/vim/$(VIMRTDIR)/install.exe
537 cp uninstald32.exe dist/vim/$(VIMRTDIR)/uninstal.exe 542 cp uninstald32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
538 cp csdpmi4b.zip dist/vim/$(VIMRTDIR) 543 cp csdpmi4b.zip dist/vim/$(VIMRTDIR)
545 mkdir dist/vim 550 mkdir dist/vim
546 mkdir dist/vim/$(VIMRTDIR) 551 mkdir dist/vim/$(VIMRTDIR)
547 tar cf - \ 552 tar cf - \
548 $(BIN_DOS) \ 553 $(BIN_DOS) \
549 | (cd dist/vim/$(VIMRTDIR); tar xf -) 554 | (cd dist/vim/$(VIMRTDIR); tar xf -)
550 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
551 cp vimd16.exe dist/vim/$(VIMRTDIR)/vim.exe 555 cp vimd16.exe dist/vim/$(VIMRTDIR)/vim.exe
552 cp xxdd16.exe dist/vim/$(VIMRTDIR)/xxd.exe 556 cp xxdd16.exe dist/vim/$(VIMRTDIR)/xxd.exe
553 cp installd16.exe dist/vim/$(VIMRTDIR)/install.exe 557 cp installd16.exe dist/vim/$(VIMRTDIR)/install.exe
554 cp uninstald16.exe dist/vim/$(VIMRTDIR)/uninstal.exe 558 cp uninstald16.exe dist/vim/$(VIMRTDIR)/uninstal.exe
555 cd dist && zip -9 -rD -z vim$(VERSION)d16.zip vim <$(COMMENT_D16) 559 cd dist && zip -9 -rD -z vim$(VERSION)d16.zip vim <$(COMMENT_D16)
561 mkdir dist/vim 565 mkdir dist/vim
562 mkdir dist/vim/$(VIMRTDIR) 566 mkdir dist/vim/$(VIMRTDIR)
563 tar cf - \ 567 tar cf - \
564 $(BIN_DOS) \ 568 $(BIN_DOS) \
565 | (cd dist/vim/$(VIMRTDIR); tar xf -) 569 | (cd dist/vim/$(VIMRTDIR); tar xf -)
566 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
567 cp gvim_ole.exe dist/vim/$(VIMRTDIR)/gvim.exe 570 cp gvim_ole.exe dist/vim/$(VIMRTDIR)/gvim.exe
568 cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe 571 cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
569 cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe 572 cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe
570 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe 573 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
571 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe 574 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
583 mkdir dist/vim 586 mkdir dist/vim
584 mkdir dist/vim/$(VIMRTDIR) 587 mkdir dist/vim/$(VIMRTDIR)
585 tar cf - \ 588 tar cf - \
586 $(BIN_DOS) \ 589 $(BIN_DOS) \
587 | (cd dist/vim/$(VIMRTDIR); tar xf -) 590 | (cd dist/vim/$(VIMRTDIR); tar xf -)
588 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
589 cp gvim_w32s.exe dist/vim/$(VIMRTDIR)/gvim.exe 591 cp gvim_w32s.exe dist/vim/$(VIMRTDIR)/gvim.exe
590 cp xxdd32.exe dist/vim/$(VIMRTDIR)/xxd.exe 592 cp xxdd32.exe dist/vim/$(VIMRTDIR)/xxd.exe
591 cp README_w32s.txt dist/vim/$(VIMRTDIR) 593 cp README_w32s.txt dist/vim/$(VIMRTDIR)
592 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe 594 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
593 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe 595 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
594 cd dist && zip -9 -rD -z gvim$(VERSION)_s.zip vim <$(COMMENT_W32S) 596 cd dist && zip -9 -rD -z gvim$(VERSION)_s.zip vim <$(COMMENT_W32S)
595 597
596 os2bin: dist no_title.vim dist/$(COMMENT_OS2)
597 -rm -rf dist/vim$(VERSION)os2.zip
598 -rm -rf dist/vim
599 mkdir dist/vim
600 mkdir dist/vim/$(VIMRTDIR)
601 tar cf - \
602 $(BIN_OS2) \
603 | (cd dist/vim/$(VIMRTDIR); tar xf -)
604 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
605 cp vimos2.exe dist/vim/$(VIMRTDIR)/vim.exe
606 cp xxdos2.exe dist/vim/$(VIMRTDIR)/xxd.exe
607 cp teeos2.exe dist/vim/$(VIMRTDIR)/tee.exe
608 cp emx.dll emxlibcs.dll dist/vim/$(VIMRTDIR)
609 cd dist && zip -9 -rD -z vim$(VERSION)os2.zip vim <$(COMMENT_OS2)
610
611 html: dist dist/$(COMMENT_HTML) 598 html: dist dist/$(COMMENT_HTML)
612 -rm -rf dist/vim$(VERSION)html.zip 599 -rm -rf dist/vim$(VERSION)html.zip
613 cd runtime/doc && zip -9 -z ../../dist/vim$(VERSION)html.zip *.html <../../dist/$(COMMENT_HTML) 600 cd runtime/doc && zip -9 -z ../../dist/vim$(VERSION)html.zip *.html <../../dist/$(COMMENT_HTML)
614 601
615 farsi: dist dist/$(COMMENT_FARSI) 602 farsi: dist dist/$(COMMENT_FARSI)