Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 598 lines (542 sloc) 22.5 kb
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
1 # This Makefile has two purposes:
2 # 1. Starting the compilation of Vim for Unix.
3 # 2. Creating the various distribution files.
4
5
6 # 1. Using this Makefile without an argument will compile Vim for Unix.
7 #
8 # "make install" is also possible.
9 #
10 # NOTE: If this doesn't work properly, first change directory to "src" and use
11 # the Makefile there:
12 # cd src
13 # make [arguments]
14 # Noticed on AIX systems when using this Makefile: Trying to run "cproto" or
15 # something else after Vim has been compiled. Don't know why...
16 # Noticed on OS/390 Unix: Restarts configure.
17 #
18 # The first (default) target is "first". This will result in running
19 # "make first", so that the target from "src/auto/config.mk" is picked
20 # up properly when config didn't run yet. Doing "make all" before configure
21 # has run can result in compiling with $(CC) empty.
22
23 first:
24 @echo "Starting make in the src directory."
25 @echo "If there are problems, cd to the src directory and run make there"
26 cd src && $(MAKE) $@
27
28 # Some make programs use the last target for the $@ default; put the other
29 # targets separately to always let $@ expand to "first" by default.
c4208da1 » vimboss
2007-05-05 updated for version 7.1a
30 all install uninstall tools config configure reconfig proto depend lint tags types test testclean clean distclean:
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
31 @echo "Starting make in the src directory."
32 @echo "If there are problems, cd to the src directory and run make there"
33 cd src && $(MAKE) $@
34
35
36 # 2. Create the various distributions:
37 #
38 # TARGET PRODUCES CONTAINS
39 # unixall vim-#.#.tar.bz2 Runtime files and Sources for Unix
40 #
41 # extra vim-#.#-extra.tar.gz Extra source and runtime files
42 # lang vim-#.#-lang.tar.gz multi-language files
43 #
44 # html vim##html.zip HTML docs
45 #
46 # amisrc vim##src.tgz sources for Amiga
47 # amirt vim##rt.tgz runtime for Amiga
48 # amibin vim##bin.tgz binary for Amiga
49 #
50 # dossrc vim##src.zip sources for MS-DOS
51 # dosrt vim##rt.zip runtime for MS-DOS
52 # dosbin vim##d16.zip binary for MS-DOS 16 bits
53 # vim##d32.zip binary for MS-DOS 32 bits
54 # vim##w32.zip binary for Win32
55 # gvim##.zip binary for GUI Win32
56 # gvim##ole.zip OLE exe for Win32 GUI
57 # gvim##_s.zip exe for Win32s GUI
58 # doslang vim##lang.zip language files for Win32
59 #
60 # os2bin vim##os2.zip binary for OS/2
61 # (use RT from dosrt)
62 #
63 # farsi farsi##.zip Farsi fonts
64 #
65 # All output files are created in the "dist" directory. Existing files are
66 # overwritten!
180d30ac » vimboss
2005-12-06 updated for version 7.0163
67 # To do all this you need the unix, extra and lang archives, and
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
68 # compiled binaries.
69 # Before creating an archive first delete all backup files, *.orig, etc.
70
25162acc » vimboss
2005-11-23 updated for version 7.0158
71 MAJOR = 7
c4208da1 » vimboss
2007-05-05 updated for version 7.1a
72 MINOR = 1a
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
73
74 # Uncomment this line if the Win32s version is to be included.
5728c49d » vimboss
2006-03-24 updated for version 7.0b
75 DOSBIN_S = dosbin_s
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
76
77 # CHECKLIST for creating a new version:
78 #
79 # - Update Vim version number. For a test version in: src/version.h, Contents,
5728c49d » vimboss
2006-03-24 updated for version 7.0b
80 # MAJOR/MINOR above, VIMMAJOR and VIMMINOR in src/Makefile, README*.txt,
f943c794 » vimboss
2005-12-02 updated for version 7.0162
81 # runtime/doc/*.txt and nsis/gvim.nsi. Other things in README_os2.txt. For a
82 # minor/major version: src/GvimExt/GvimExt.reg, src/vim.def, src/vim16.def.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
83 # - Correct included_patches[] in src/version.c.
c4208da1 » vimboss
2007-05-05 updated for version 7.1a
84 # - Compile Vim with GTK, Perl, Python, TCL, Ruby, MZscheme (if you can make it
85 # work), Cscope and "huge" features. Exclude workshop and SNiFF.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
86 # - With these features: "make proto" (requires cproto and Motif installed;
87 # ignore warnings for missing include files, fix problems for syntax errors).
88 # - With these features: "make depend" (works best with gcc).
89 # - "make lint" and check the output (ignore GTK warnings).
90 # - Enable the efence library in "src/Makefile" and run "make test". May
c4208da1 » vimboss
2007-05-05 updated for version 7.1a
91 # require disabling Python and Ruby to avoid trouble with threads.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
92 # - Check for missing entries in runtime/makemenu.vim (with checkmenu script).
93 # - Check for missing options in runtime/optwin.vim et al. (with check.vim).
94 # - Do "make menu" to update the runtime/synmenu.vim file.
5728c49d » vimboss
2006-03-24 updated for version 7.0b
95 # - Add remarks for changes to runtime/doc/version7.txt.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
96 # - In runtime/doc run "make" and "make html" to check for errors.
97 # - Check if src/Makefile and src/feature.h don't contain any personal
98 # preferences or the GTK, Perl, etc. mentioned above.
99 # - Check that runtime/doc/help.txt doesn't contain entries in "LOCAL
100 # ADDITIONS".
101 # - Check file protections to be "644" for text and "755" for executables (run
102 # the "check" script).
103 # - Check compiling on Amiga, MS-DOS and MS-Windows.
104 # - Delete all *~, *.sw?, *.orig, *.rej files
105 # - "make unixall", "make extra", "make lang", "make html"
106 #
107 # Amiga:
108 # - "make amisrc", move the archive to the Amiga and compile:
109 # "make -f Make_manx.mak" (will use "big" features by default).
110 # - Run the tests: "make -f Make_manx.mak test"
111 # - Place the executables Vim and Xxd in this directory (set the executable
112 # flag).
113 # - "make amirt", "make amibin".
114 #
115 # PC:
116 # - "make dossrc" and "make dosrt". Unpack the archives on a PC.
117 # 16 bit DOS version:
118 # - Set environment for compiling with Borland C++ 3.1.
119 # - "bmake -f Make_bc3.mak BOR=E:\borlandc" (compiling xxd might fail, in that
120 # case set environment for compiling with Borland C++ 4.0 and do
121 # "make -f make_bc3.mak BOR=E:\BC4 xxd/xxd.exe").
122 # - "make test" and check the output.
123 # - Rename the executables to "vimd16.exe", "xxdd16.exe", "installd16.exe" and
124 # "uninstald16.exe".
125 # 32 bit DOS version:
126 # - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak".
f943c794 » vimboss
2005-12-02 updated for version 7.0162
127 # - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
128 # - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and
129 # "uninstald32.exe".
130 # Win32 console version:
c4208da1 » vimboss
2007-05-05 updated for version 7.1a
131 # - Set environment for Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the
132 # paths when necessary).
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
133 # - "nmake -f Make_mvc.mak"
134 # - "rm testdir/*.out", "nmake -f Make_mvc.mak test" and check the output.
135 # - Rename the executables to "vimw32.exe", "xxdw32.exe".
c4208da1 » vimboss
2007-05-05 updated for version 7.1a
136 # - Rename vim.pdb to vimw32.pdb.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
137 # - When building the Win32s version later, delete vimrun.exe, install.exe and
138 # uninstal.exe. Otherwise rename executables to installw32.exe and
139 # uninstalw32.exe.
140 # Win32 GUI version:
141 # - "nmake -f Make_mvc.mak GUI=yes.
142 # - move "gvim.exe" to here (otherwise the OLE version will overwrite it).
c4208da1 » vimboss
2007-05-05 updated for version 7.1a
143 # - Move gvim.pdb to here.
144 # - Delete vimrun.exe, install.exe and uninstal.exe.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
145 # - Copy "GvimExt/gvimext.dll" to here.
146 # Win32 GUI version with OLE, PERL, TCL, PYTHON and dynamic IME:
147 # - Run src/bigvim.bat ("nmake -f Make_mvc.mak GUI=yes OLE=yes IME=yes ...)
148 # - Rename "gvim.exe" to "gvim_ole.exe".
c4208da1 » vimboss
2007-05-05 updated for version 7.1a
149 # - Rename gvim.pdb to "gvim_ole.pdb".
150 # - Delete install.exe and uninstal.exe.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
151 # - If building the Win32s version delete vimrun.exe.
152 # Win32s GUI version:
153 # - Set environment for Visual C++ 4.1 (requires a new console window)
154 # - "vcvars32" (use the path for VC 4.1 e:\msdev\bin)
155 # - "nmake -f Make_mvc.mak GUI=yes INTL=no clean" (use the path for VC 4.1)
156 # - "nmake -f Make_mvc.mak GUI=yes INTL=no" (use the path for VC 4.1)
157 # - Rename "gvim.exe" to "gvim_w32s.exe".
158 # - Rename "install.exe" to "installw32.exe"
159 # - Rename "uninstal.exe" to "uninstalw32.exe"
160 # - The produced uninstalw32.exe and vimrun.exe are used.
161 # Create the archives:
162 # - Copy all the "*.exe" files to where this Makefile is.
767c3973 » vimboss
2006-04-16 updated for version 7.0e
163 # - Copy all the "*.pdb" files to where this Makefile is.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
164 # - "make dosbin".
165 # - Run make on Unix to update the ".mo" files.
166 # - "make doslang".
167 # NSIS self installing exe:
168 # - Unpack the doslang archive on the PC.
169 # - Make sure gvim_ole.exe, vimd32.exe, vimw32.exe, installw32.exe,
170 # uninstalw32.exe and xxdw32.exe have been build as mentioned above.
171 # - put gvimext.dll in src/GvimExt and VisVim.dll in src/VisVim (get them
172 # from a binary archive or build them)
66437cab » vimboss
2006-03-27 updated for version 7.0c
173 # Note: VisVim needs to be build with MSVC 5, newer versions don't work.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
174 # - make sure there is a diff.exe two levels up
175 # - go to ../nsis and do "makensis gvim.nsi".
176 # - Copy gvim##.exe to the dist directory.
177 #
178 # OS/2:
179 # - Unpack the Unix "src", "extra" and "rt" archives.
180 # - "make -f Make_os2.mak".
181 # - Rename the executables to vimos2.exe, xxdos2.exe and teeos2.exe and copy
182 # them to here.
183 # - "make os2bin".
184
185 VIMVER = vim-$(MAJOR).$(MINOR)
186 VERSION = $(MAJOR)$(MINOR)
187 VDOT = $(MAJOR).$(MINOR)
188 VIMRTDIR = vim$(VERSION)
189
190 # Vim used for conversion from "unix" to "dos"
191 VIM = vim
192
193 # How to include Filelist depends on the version of "make" you have.
194 # If the current choice doesn't work, try the other one.
195
196 include Filelist
197 #.include "Filelist"
198
199
200 # All output is put in the "dist" directory.
201 dist:
202 mkdir dist
203
204 # Clean up some files to avoid they are included.
205 prepare:
206 if test -f runtime/doc/uganda.nsis.txt; then \
207 rm runtime/doc/uganda.nsis.txt; fi
208
209 # For the zip files we need to create a file with the comment line
210 dist/comment:
211 mkdir dist/comment
212
213 COMMENT_RT = comment/$(VERSION)-rt
214 COMMENT_RT1 = comment/$(VERSION)-rt1
215 COMMENT_RT2 = comment/$(VERSION)-rt2
216 COMMENT_D16 = comment/$(VERSION)-bin-d16
217 COMMENT_D32 = comment/$(VERSION)-bin-d32
218 COMMENT_W32 = comment/$(VERSION)-bin-w32
219 COMMENT_GVIM = comment/$(VERSION)-bin-gvim
220 COMMENT_OLE = comment/$(VERSION)-bin-ole
221 COMMENT_W32S = comment/$(VERSION)-bin-w32s
222 COMMENT_SRC = comment/$(VERSION)-src
223 COMMENT_OS2 = comment/$(VERSION)-bin-os2
224 COMMENT_HTML = comment/$(VERSION)-html
225 COMMENT_FARSI = comment/$(VERSION)-farsi
226 COMMENT_LANG = comment/$(VERSION)-lang
227
228 dist/$(COMMENT_RT): dist/comment
229 echo "Vim - Vi IMproved - v$(VDOT) runtime files for MS-DOS and MS-Windows" > dist/$(COMMENT_RT)
230
231 dist/$(COMMENT_RT1): dist/comment
232 echo "Vim - Vi IMproved - v$(VDOT) runtime files (PART 1) for MS-DOS and MS-Windows" > dist/$(COMMENT_RT1)
233
234 dist/$(COMMENT_RT2): dist/comment
235 echo "Vim - Vi IMproved - v$(VDOT) runtime files (PART 2) for MS-DOS and MS-Windows" > dist/$(COMMENT_RT2)
236
237 dist/$(COMMENT_D16): dist/comment
238 echo "Vim - Vi IMproved - v$(VDOT) binaries for MS-DOS 16 bit real mode" > dist/$(COMMENT_D16)
239
240 dist/$(COMMENT_D32): dist/comment
241 echo "Vim - Vi IMproved - v$(VDOT) binaries for MS-DOS 32 bit protected mode" > dist/$(COMMENT_D32)
242
243 dist/$(COMMENT_W32): dist/comment
244 echo "Vim - Vi IMproved - v$(VDOT) binaries for MS-Windows NT/95" > dist/$(COMMENT_W32)
245
246 dist/$(COMMENT_GVIM): dist/comment
247 echo "Vim - Vi IMproved - v$(VDOT) GUI binaries for MS-Windows NT/95" > dist/$(COMMENT_GVIM)
248
249 dist/$(COMMENT_OLE): dist/comment
250 echo "Vim - Vi IMproved - v$(VDOT) MS-Windows GUI binaries with OLE support" > dist/$(COMMENT_OLE)
251
252 dist/$(COMMENT_W32S): dist/comment
253 echo "Vim - Vi IMproved - v$(VDOT) GUI binaries for MS-Windows 3.1/3.11" > dist/$(COMMENT_W32S)
254
255 dist/$(COMMENT_SRC): dist/comment
256 echo "Vim - Vi IMproved - v$(VDOT) sources for MS-DOS and MS-Windows" > dist/$(COMMENT_SRC)
257
258 dist/$(COMMENT_OS2): dist/comment
259 echo "Vim - Vi IMproved - v$(VDOT) binaries + runtime files for OS/2" > dist/$(COMMENT_OS2)
260
261 dist/$(COMMENT_HTML): dist/comment
262 echo "Vim - Vi IMproved - v$(VDOT) documentation in HTML" > dist/$(COMMENT_HTML)
263
264 dist/$(COMMENT_FARSI): dist/comment
265 echo "Vim - Vi IMproved - v$(VDOT) Farsi language files" > dist/$(COMMENT_FARSI)
266
267 dist/$(COMMENT_LANG): dist/comment
268 echo "Vim - Vi IMproved - v$(VDOT) MS-Windows language files" > dist/$(COMMENT_LANG)
269
180d30ac » vimboss
2005-12-06 updated for version 7.0163
270 unixall: dist prepare
271 -rm -f dist/$(VIMVER).tar.bz2
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
272 -rm -rf dist/$(VIMRTDIR)
273 mkdir dist/$(VIMRTDIR)
274 tar cf - \
275 $(RT_ALL) \
276 $(RT_ALL_BIN) \
277 $(RT_UNIX) \
278 $(RT_UNIX_DOS_BIN) \
279 $(RT_SCRIPTS) \
280 $(LANG_GEN) \
14a0d132 » vimboss
2005-04-17 updated for version 7.0067
281 $(LANG_GEN_BIN) \
180d30ac » vimboss
2005-12-06 updated for version 7.0163
282 $(SRC_ALL) \
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
283 $(SRC_UNIX) \
284 $(SRC_DOS_UNIX) \
285 | (cd dist/$(VIMRTDIR); tar xf -)
286 # Need to use a "distclean" config.mk file
287 cp -f src/config.mk.dist dist/$(VIMRTDIR)/src/auto/config.mk
288 # Create an empty config.h file, make dependencies require it
289 touch dist/$(VIMRTDIR)/src/auto/config.h
290 # Make sure configure is newer than config.mk to force it to be generated
291 touch dist/$(VIMRTDIR)/src/configure
292 cd dist && tar cf $(VIMVER).tar $(VIMRTDIR)
293 bzip2 dist/$(VIMVER).tar
294
295 extra: dist prepare
296 -rm -f dist/$(VIMVER)-extra.tar.gz
297 -rm -rf dist/$(VIMRTDIR)
298 mkdir dist/$(VIMRTDIR)
299 tar cf - \
300 $(EXTRA) \
301 | (cd dist/$(VIMRTDIR); tar xf -)
302 cd dist && tar cf $(VIMVER)-extra.tar $(VIMRTDIR)
303 gzip -9 dist/$(VIMVER)-extra.tar
304
305 lang: dist prepare
306 -rm -f dist/$(VIMVER)-lang.tar.gz
307 -rm -rf dist/$(VIMRTDIR)
308 mkdir dist/$(VIMRTDIR)
309 tar cf - \
310 $(LANG_SRC) \
311 | (cd dist/$(VIMRTDIR); tar xf -)
312 # Make sure ja.sjis.po is newer than ja.po to avoid it being regenerated.
313 # Same for cs.cp1250.po, pl.cp1250.po and sk.cp1250.po.
314 touch dist/$(VIMRTDIR)/src/po/ja.sjis.po
315 touch dist/$(VIMRTDIR)/src/po/cs.cp1250.po
316 touch dist/$(VIMRTDIR)/src/po/pl.cp1250.po
317 touch dist/$(VIMRTDIR)/src/po/sk.cp1250.po
318 touch dist/$(VIMRTDIR)/src/po/zh_CN.cp936.po
319 touch dist/$(VIMRTDIR)/src/po/ru.cp1251.po
4fd90a4f » vimboss
2004-09-06 updated for version 7.0015
320 touch dist/$(VIMRTDIR)/src/po/uk.cp1251.po
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
321 cd dist && tar cf $(VIMVER)-lang.tar $(VIMRTDIR)
322 gzip -9 dist/$(VIMVER)-lang.tar
323
324 amirt: dist prepare
325 -rm -f dist/vim$(VERSION)rt.tar.gz
326 -rm -rf dist/Vim
327 mkdir dist/Vim
328 mkdir dist/Vim/$(VIMRTDIR)
329 tar cf - \
330 $(ROOT_AMI) \
331 $(RT_ALL) \
332 $(RT_ALL_BIN) \
333 $(RT_SCRIPTS) \
334 $(RT_AMI) \
335 $(RT_NO_UNIX) \
336 $(RT_AMI_DOS) \
337 | (cd dist/Vim/$(VIMRTDIR); tar xf -)
338 mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
339 mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
340 mv dist/Vim/$(VIMRTDIR)/runtime/* dist/Vim/$(VIMRTDIR)
341 rmdir dist/Vim/$(VIMRTDIR)/runtime
342 cd dist && tar cf vim$(VERSION)rt.tar Vim Vim.info
343 gzip -9 dist/vim$(VERSION)rt.tar
344 mv dist/vim$(VERSION)rt.tar.gz dist/vim$(VERSION)rt.tgz
345
346 amibin: dist prepare
347 -rm -f dist/vim$(VERSION)bin.tar.gz
348 -rm -rf dist/Vim
349 mkdir dist/Vim
350 mkdir dist/Vim/$(VIMRTDIR)
351 tar cf - \
352 $(ROOT_AMI) \
353 $(BIN_AMI) \
354 Vim \
355 Xxd \
356 | (cd dist/Vim/$(VIMRTDIR); tar xf -)
357 mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
358 mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
359 cd dist && tar cf vim$(VERSION)bin.tar Vim Vim.info
360 gzip -9 dist/vim$(VERSION)bin.tar
361 mv dist/vim$(VERSION)bin.tar.gz dist/vim$(VERSION)bin.tgz
362
363 amisrc: dist prepare
364 -rm -f dist/vim$(VERSION)src.tar.gz
365 -rm -rf dist/Vim
366 mkdir dist/Vim
367 mkdir dist/Vim/$(VIMRTDIR)
368 tar cf - \
369 $(ROOT_AMI) \
180d30ac » vimboss
2005-12-06 updated for version 7.0163
370 $(SRC_ALL) \
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
371 $(SRC_AMI) \
372 $(SRC_AMI_DOS) \
373 | (cd dist/Vim/$(VIMRTDIR); tar xf -)
374 mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
375 mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
376 cd dist && tar cf vim$(VERSION)src.tar Vim Vim.info
377 gzip -9 dist/vim$(VERSION)src.tar
378 mv dist/vim$(VERSION)src.tar.gz dist/vim$(VERSION)src.tgz
379
380 no_title.vim: Makefile
381 echo "set notitle noicon nocp nomodeline viminfo=" >no_title.vim
382
383 dosrt: dist dist/$(COMMENT_RT) dosrt_unix2dos
384 -rm -rf dist/vim$(VERSION)rt.zip
385 cd dist && zip -9 -rD -z vim$(VERSION)rt.zip vim <$(COMMENT_RT)
386
25162acc » vimboss
2005-11-23 updated for version 7.0158
387 # Split in two parts to avoid a "argument list too long" error.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
388 dosrt_unix2dos: dist prepare no_title.vim
389 -rm -rf dist/vim
390 mkdir dist/vim
391 mkdir dist/vim/$(VIMRTDIR)
392 tar cf - \
393 $(RT_ALL) \
25162acc » vimboss
2005-11-23 updated for version 7.0158
394 | (cd dist/vim/$(VIMRTDIR); tar xf -)
395 tar cf - \
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
396 $(RT_SCRIPTS) \
397 $(RT_DOS) \
398 $(RT_NO_UNIX) \
399 $(RT_AMI_DOS) \
400 $(LANG_GEN) \
401 | (cd dist/vim/$(VIMRTDIR); tar xf -)
402 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
403 tar cf - \
404 $(RT_UNIX_DOS_BIN) \
405 $(RT_ALL_BIN) \
406 $(RT_DOS_BIN) \
14a0d132 » vimboss
2005-04-17 updated for version 7.0067
407 $(LANG_GEN_BIN) \
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
408 | (cd dist/vim/$(VIMRTDIR); tar xf -)
409 mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
410 rmdir dist/vim/$(VIMRTDIR)/runtime
411
412
413 # Convert runtime files from Unix fileformat to dos fileformat.
414 # Used before uploading. Don't delete the AAPDIR/sign files!
415 runtime_unix2dos: dosrt_unix2dos
416 -rm -rf `find runtime/dos -type f -print | sed -e /AAPDIR/d`
417 cd dist/vim/$(VIMRTDIR); tar cf - * \
418 | (cd ../../../runtime/dos; tar xf -)
419
420 dosbin: prepare dosbin_gvim dosbin_w32 dosbin_d32 dosbin_d16 dosbin_ole $(DOSBIN_S)
421
422 # make Win32 gvim
423 dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM)
424 -rm -rf dist/gvim$(VERSION).zip
425 -rm -rf dist/vim
426 mkdir dist/vim
427 mkdir dist/vim/$(VIMRTDIR)
428 tar cf - \
429 $(BIN_DOS) \
430 | (cd dist/vim/$(VIMRTDIR); tar xf -)
431 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
432 cp gvim.exe dist/vim/$(VIMRTDIR)/gvim.exe
433 cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
434 cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe
435 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
436 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
437 cp gvimext.dll dist/vim/$(VIMRTDIR)/gvimext.dll
438 cd dist && zip -9 -rD -z gvim$(VERSION).zip vim <$(COMMENT_GVIM)
852a6877 » vimboss
2006-03-06 updated for version 7.0216
439 cp gvim.pdb dist/gvim$(VERSION).pdb
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
440
441 # make Win32 console
442 dosbin_w32: dist no_title.vim dist/$(COMMENT_W32)
443 -rm -rf dist/vim$(VERSION)w32.zip
444 -rm -rf dist/vim
445 mkdir dist/vim
446 mkdir dist/vim/$(VIMRTDIR)
447 tar cf - \
448 $(BIN_DOS) \
449 | (cd dist/vim/$(VIMRTDIR); tar xf -)
450 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
451 cp vimw32.exe dist/vim/$(VIMRTDIR)/vim.exe
452 cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
453 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
454 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
455 cd dist && zip -9 -rD -z vim$(VERSION)w32.zip vim <$(COMMENT_W32)
852a6877 » vimboss
2006-03-06 updated for version 7.0216
456 cp vimw32.pdb dist/vim$(VERSION)w32.pdb
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
457
458 # make 32bit DOS
459 dosbin_d32: dist no_title.vim dist/$(COMMENT_D32)
460 -rm -rf dist/vim$(VERSION)d32.zip
461 -rm -rf dist/vim
462 mkdir dist/vim
463 mkdir dist/vim/$(VIMRTDIR)
464 tar cf - \
465 $(BIN_DOS) \
466 | (cd dist/vim/$(VIMRTDIR); tar xf -)
467 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
468 cp vimd32.exe dist/vim/$(VIMRTDIR)/vim.exe
469 cp xxdd32.exe dist/vim/$(VIMRTDIR)/xxd.exe
470 cp installd32.exe dist/vim/$(VIMRTDIR)/install.exe
471 cp uninstald32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
472 cp csdpmi4b.zip dist/vim/$(VIMRTDIR)
473 cd dist && zip -9 -rD -z vim$(VERSION)d32.zip vim <$(COMMENT_D32)
474
475 # make 16bit DOS
476 dosbin_d16: dist no_title.vim dist/$(COMMENT_D16)
477 -rm -rf dist/vim$(VERSION)d16.zip
478 -rm -rf dist/vim
479 mkdir dist/vim
480 mkdir dist/vim/$(VIMRTDIR)
481 tar cf - \
482 $(BIN_DOS) \
483 | (cd dist/vim/$(VIMRTDIR); tar xf -)
484 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
485 cp vimd16.exe dist/vim/$(VIMRTDIR)/vim.exe
486 cp xxdd16.exe dist/vim/$(VIMRTDIR)/xxd.exe
487 cp installd16.exe dist/vim/$(VIMRTDIR)/install.exe
488 cp uninstald16.exe dist/vim/$(VIMRTDIR)/uninstal.exe
489 cd dist && zip -9 -rD -z vim$(VERSION)d16.zip vim <$(COMMENT_D16)
490
491 # make Win32 gvim with OLE
492 dosbin_ole: dist no_title.vim dist/$(COMMENT_OLE)
493 -rm -rf dist/gvim$(VERSION)ole.zip
494 -rm -rf dist/vim
495 mkdir dist/vim
496 mkdir dist/vim/$(VIMRTDIR)
497 tar cf - \
498 $(BIN_DOS) \
499 | (cd dist/vim/$(VIMRTDIR); tar xf -)
500 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
501 cp gvim_ole.exe dist/vim/$(VIMRTDIR)/gvim.exe
502 cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
503 cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe
504 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
505 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
506 cp gvimext.dll dist/vim/$(VIMRTDIR)/gvimext.dll
507 cp README_ole.txt dist/vim/$(VIMRTDIR)
508 cp src/VisVim/VisVim.dll dist/vim/$(VIMRTDIR)/VisVim.dll
509 cp src/VisVim/README_VisVim.txt dist/vim/$(VIMRTDIR)
510 cd dist && zip -9 -rD -z gvim$(VERSION)ole.zip vim <$(COMMENT_OLE)
852a6877 » vimboss
2006-03-06 updated for version 7.0216
511 cp gvim_ole.pdb dist/gvim$(VERSION)ole.pdb
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
512
513 # make Win32s gvim
514 dosbin_s: dist no_title.vim dist/$(COMMENT_W32S)
515 -rm -rf dist/gvim$(VERSION)_s.zip
516 -rm -rf dist/vim
517 mkdir dist/vim
518 mkdir dist/vim/$(VIMRTDIR)
519 tar cf - \
520 $(BIN_DOS) \
521 | (cd dist/vim/$(VIMRTDIR); tar xf -)
522 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
523 cp gvim_w32s.exe dist/vim/$(VIMRTDIR)/gvim.exe
524 cp xxdd32.exe dist/vim/$(VIMRTDIR)/xxd.exe
525 cp README_w32s.txt dist/vim/$(VIMRTDIR)
526 cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
527 cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
528 cd dist && zip -9 -rD -z gvim$(VERSION)_s.zip vim <$(COMMENT_W32S)
529
530 # make Win32 lang archive
531 doslang: dist prepare no_title.vim dist/$(COMMENT_LANG)
532 -rm -rf dist/vim$(VERSION)lang.zip
533 -rm -rf dist/vim
534 mkdir dist/vim
535 mkdir dist/vim/$(VIMRTDIR)
536 mkdir dist/vim/$(VIMRTDIR)/lang
537 cd src && MAKEMO=yes $(MAKE) languages
538 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
539 # Add the message translations. Trick: skip ja.mo and use ja.sjis.mo instead.
540 # Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo, sk.mo / sk.cp1250.mo,
4fd90a4f » vimboss
2004-09-06 updated for version 7.0015
541 # zh_CN.mo / zh_CN.cp936.mo, uk.mo / uk.cp1251.mo and ru.mo / ru.cp1251.mo.
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
542 for i in $(LANG_DOS); do \
4fd90a4f » vimboss
2004-09-06 updated for version 7.0015
543 if test "$$i" != "src/po/ja.mo" -a "$$i" != "src/po/pl.mo" -a "$$i" != "src/po/cs.mo" -a "$$i" != "src/po/sk.mo" -a "$$i" != "src/po/zh_CN.mo" -a "$$i" != "src/po/ru.mo" -a "$$i" != "src/po/uk.mo"; then \
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
544 n=`echo $$i | sed -e "s+src/po/\([-a-zA-Z0-9_]*\(.UTF-8\)*\)\(.sjis\)*\(.cp1250\)*\(.cp1251\)*\(.cp936\)*.mo+\1+"`; \
545 mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \
546 mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \
547 cp $$i dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES/vim.mo; \
548 fi \
549 done
550 cp libintl.dll dist/vim/$(VIMRTDIR)/
551 cd dist && zip -9 -rD -z vim$(VERSION)lang.zip vim <$(COMMENT_LANG)
552
553 # MS-DOS sources
554 dossrc: dist no_title.vim dist/$(COMMENT_SRC) runtime/doc/uganda.nsis.txt
555 -rm -rf dist/vim$(VERSION)src.zip
556 -rm -rf dist/vim
557 mkdir dist/vim
558 mkdir dist/vim/$(VIMRTDIR)
559 tar cf - \
180d30ac » vimboss
2005-12-06 updated for version 7.0163
560 $(SRC_ALL) \
e5c6ef7d » vimboss
2004-06-13 updated for version 7.0001
561 $(SRC_DOS) \
562 $(SRC_AMI_DOS) \
563 $(SRC_DOS_UNIX) \
564 runtime/doc/uganda.nsis.txt \
565 | (cd dist/vim/$(VIMRTDIR); tar xf -)
566 mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
567 rmdir dist/vim/$(VIMRTDIR)/runtime
568 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
569 tar cf - \
570 $(SRC_DOS_BIN) \
571 | (cd dist/vim/$(VIMRTDIR); tar xf -)
572 cd dist && zip -9 -rD -z vim$(VERSION)src.zip vim <$(COMMENT_SRC)
573
574 runtime/doc/uganda.nsis.txt: runtime/doc/uganda.txt
575 cd runtime/doc && $(MAKE) uganda.nsis.txt
576
577 os2bin: dist no_title.vim dist/$(COMMENT_OS2)
578 -rm -rf dist/vim$(VERSION)os2.zip
579 -rm -rf dist/vim
580 mkdir dist/vim
581 mkdir dist/vim/$(VIMRTDIR)
582 tar cf - \
583 $(BIN_OS2) \
584 | (cd dist/vim/$(VIMRTDIR); tar xf -)
585 find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
586 cp vimos2.exe dist/vim/$(VIMRTDIR)/vim.exe
587 cp xxdos2.exe dist/vim/$(VIMRTDIR)/xxd.exe
588 cp teeos2.exe dist/vim/$(VIMRTDIR)/tee.exe
589 cp emx.dll emxlibcs.dll dist/vim/$(VIMRTDIR)
590 cd dist && zip -9 -rD -z vim$(VERSION)os2.zip vim <$(COMMENT_OS2)
591
592 html: dist dist/$(COMMENT_HTML)
593 -rm -rf dist/vim$(VERSION)html.zip
594 cd runtime/doc && zip -9 -z ../../dist/vim$(VERSION)html.zip *.html <../../dist/$(COMMENT_HTML)
595
596 farsi: dist dist/$(COMMENT_FARSI)
597 -rm -f dist/farsi$(VERSION).zip
598 zip -9 -rD -z dist/farsi$(VERSION).zip farsi < dist/$(COMMENT_FARSI)
Something went wrong with that request. Please try again.