Mercurial > vim
comparison Makefile @ 573:c85bf6a4999b
updated for version 7.0163
author | vimboss |
---|---|
date | Tue, 06 Dec 2005 19:50:41 +0000 |
parents | 27d1ec742f17 |
children | 0f9f4761ad9c |
comparison
equal
deleted
inserted
replaced
572:2244be18d9e9 | 573:c85bf6a4999b |
---|---|
35 | 35 |
36 # 2. Create the various distributions: | 36 # 2. Create the various distributions: |
37 # | 37 # |
38 # TARGET PRODUCES CONTAINS | 38 # TARGET PRODUCES CONTAINS |
39 # unixall vim-#.#.tar.bz2 Runtime files and Sources for Unix | 39 # unixall vim-#.#.tar.bz2 Runtime files and Sources for Unix |
40 # unixrt vim-#.#-rt[12].tar.gz Runtime files for Unix | |
41 # unixsrc vim-#.#-src[12].tar.gz Sources for Unix | |
42 # | 40 # |
43 # extra vim-#.#-extra.tar.gz Extra source and runtime files | 41 # extra vim-#.#-extra.tar.gz Extra source and runtime files |
44 # lang vim-#.#-lang.tar.gz multi-language files | 42 # lang vim-#.#-lang.tar.gz multi-language files |
45 # | 43 # |
46 # html vim##html.zip HTML docs | 44 # html vim##html.zip HTML docs |
64 # | 62 # |
65 # farsi farsi##.zip Farsi fonts | 63 # farsi farsi##.zip Farsi fonts |
66 # | 64 # |
67 # All output files are created in the "dist" directory. Existing files are | 65 # All output files are created in the "dist" directory. Existing files are |
68 # overwritten! | 66 # overwritten! |
69 # To do all this you need the unixrt, unixsrc, extra and lang archives, and | 67 # To do all this you need the unix, extra and lang archives, and |
70 # compiled binaries. | 68 # compiled binaries. |
71 # Before creating an archive first delete all backup files, *.orig, etc. | 69 # Before creating an archive first delete all backup files, *.orig, etc. |
72 | 70 |
73 MAJOR = 7 | 71 MAJOR = 7 |
74 MINOR = 0aa | 72 MINOR = 0aa |
81 # - Update Vim version number. For a test version in: src/version.h, Contents, | 79 # - Update Vim version number. For a test version in: src/version.h, Contents, |
82 # MAJOR/MINOR above, VIMRTDIR and VERSION in src/Makefile, README*.txt, | 80 # MAJOR/MINOR above, VIMRTDIR and VERSION in src/Makefile, README*.txt, |
83 # runtime/doc/*.txt and nsis/gvim.nsi. Other things in README_os2.txt. For a | 81 # runtime/doc/*.txt and nsis/gvim.nsi. Other things in README_os2.txt. For a |
84 # minor/major version: src/GvimExt/GvimExt.reg, src/vim.def, src/vim16.def. | 82 # minor/major version: src/GvimExt/GvimExt.reg, src/vim.def, src/vim16.def. |
85 # - Correct included_patches[] in src/version.c. | 83 # - Correct included_patches[] in src/version.c. |
86 # - Compile Vim with GTK, Perl, Python, TCL, Ruby, Cscope and "huge" features. | 84 # - Compile Vim with GTK, Perl, Python, TCL, Ruby, MZscheme, Cscope and "huge" |
85 # features. Exclude workshop and SNiFF. | |
87 # - With these features: "make proto" (requires cproto and Motif installed; | 86 # - With these features: "make proto" (requires cproto and Motif installed; |
88 # ignore warnings for missing include files, fix problems for syntax errors). | 87 # ignore warnings for missing include files, fix problems for syntax errors). |
89 # - With these features: "make depend" (works best with gcc). | 88 # - With these features: "make depend" (works best with gcc). |
90 # - "make lint" and check the output (ignore GTK warnings). | 89 # - "make lint" and check the output (ignore GTK warnings). |
91 # - Enable the efence library in "src/Makefile" and run "make test". May | 90 # - Enable the efence library in "src/Makefile" and run "make test". May |
260 echo "Vim - Vi IMproved - v$(VDOT) Farsi language files" > dist/$(COMMENT_FARSI) | 259 echo "Vim - Vi IMproved - v$(VDOT) Farsi language files" > dist/$(COMMENT_FARSI) |
261 | 260 |
262 dist/$(COMMENT_LANG): dist/comment | 261 dist/$(COMMENT_LANG): dist/comment |
263 echo "Vim - Vi IMproved - v$(VDOT) MS-Windows language files" > dist/$(COMMENT_LANG) | 262 echo "Vim - Vi IMproved - v$(VDOT) MS-Windows language files" > dist/$(COMMENT_LANG) |
264 | 263 |
265 unixrt: dist prepare | 264 unixall: dist prepare |
266 -rm -f dist/$(VIMVER)-rt1.tar.gz | 265 -rm -f dist/$(VIMVER).tar.bz2 |
267 -rm -f dist/$(VIMVER)-rt2.tar.gz | |
268 # first runtime file | |
269 -rm -rf dist/$(VIMRTDIR) | 266 -rm -rf dist/$(VIMRTDIR) |
270 mkdir dist/$(VIMRTDIR) | 267 mkdir dist/$(VIMRTDIR) |
271 tar cf - \ | 268 tar cf - \ |
272 $(RT_ALL) \ | 269 $(RT_ALL) \ |
273 $(RT_ALL_BIN) \ | 270 $(RT_ALL_BIN) \ |
274 $(RT_UNIX) \ | 271 $(RT_UNIX) \ |
275 $(RT_UNIX_DOS_BIN) \ | 272 $(RT_UNIX_DOS_BIN) \ |
276 | (cd dist/$(VIMRTDIR); tar xf -) | |
277 cd dist && tar cf $(VIMVER)-rt1.tar $(VIMRTDIR) | |
278 gzip -9 dist/$(VIMVER)-rt1.tar | |
279 # second runtime file (script and language files) | |
280 -rm -rf dist/$(VIMRTDIR) | |
281 mkdir dist/$(VIMRTDIR) | |
282 tar cf - \ | |
283 $(RT_SCRIPTS) \ | 273 $(RT_SCRIPTS) \ |
284 $(LANG_GEN) \ | 274 $(LANG_GEN) \ |
285 $(LANG_GEN_BIN) \ | 275 $(LANG_GEN_BIN) \ |
286 | (cd dist/$(VIMRTDIR); tar xf -) | 276 $(SRC_ALL) \ |
287 cd dist && tar cf $(VIMVER)-rt2.tar $(VIMRTDIR) | |
288 gzip -9 dist/$(VIMVER)-rt2.tar | |
289 | |
290 unixsrc: dist prepare | |
291 -rm -f dist/$(VIMVER)-src1.tar.gz | |
292 -rm -f dist/$(VIMVER)-src2.tar.gz | |
293 # first source file | |
294 -rm -rf dist/$(VIMRTDIR) | |
295 mkdir dist/$(VIMRTDIR) | |
296 tar cf - \ | |
297 $(SRC_ALL1) \ | |
298 | (cd dist/$(VIMRTDIR); tar xf -) | |
299 cd dist && tar cf $(VIMVER)-src1.tar $(VIMRTDIR) | |
300 gzip -9 dist/$(VIMVER)-src1.tar | |
301 # second source file | |
302 -rm -rf dist/$(VIMRTDIR) | |
303 mkdir dist/$(VIMRTDIR) | |
304 tar cf - \ | |
305 $(SRC_ALL2) \ | |
306 $(SRC_UNIX) \ | 277 $(SRC_UNIX) \ |
307 $(SRC_DOS_UNIX) \ | 278 $(SRC_DOS_UNIX) \ |
308 | (cd dist/$(VIMRTDIR); tar xf -) | 279 | (cd dist/$(VIMRTDIR); tar xf -) |
309 # Need to use a "distclean" config.mk file | 280 # Need to use a "distclean" config.mk file |
310 cp -f src/config.mk.dist dist/$(VIMRTDIR)/src/auto/config.mk | 281 cp -f src/config.mk.dist dist/$(VIMRTDIR)/src/auto/config.mk |
311 # Create an empty config.h file, make dependencies require it | |
312 touch dist/$(VIMRTDIR)/src/auto/config.h | |
313 # Make sure configure is newer than config.mk to force it to be generated | |
314 touch dist/$(VIMRTDIR)/src/configure | |
315 cd dist && tar cf $(VIMVER)-src2.tar $(VIMRTDIR) | |
316 gzip -9 dist/$(VIMVER)-src2.tar | |
317 | |
318 unixall: dist unixsrc unixrt | |
319 -rm -f dist/$(VIMVER).tar.bz2 | |
320 -rm -rf dist/$(VIMRTDIR) | |
321 mkdir dist/$(VIMRTDIR) | |
322 cd dist && tar xfz $(VIMVER)-src1.tar.gz | |
323 cd dist && tar xfz $(VIMVER)-src2.tar.gz | |
324 cd dist && tar xfz $(VIMVER)-rt1.tar.gz | |
325 cd dist && tar xfz $(VIMVER)-rt2.tar.gz | |
326 # Create an empty config.h file, make dependencies require it | 282 # Create an empty config.h file, make dependencies require it |
327 touch dist/$(VIMRTDIR)/src/auto/config.h | 283 touch dist/$(VIMRTDIR)/src/auto/config.h |
328 # Make sure configure is newer than config.mk to force it to be generated | 284 # Make sure configure is newer than config.mk to force it to be generated |
329 touch dist/$(VIMRTDIR)/src/configure | 285 touch dist/$(VIMRTDIR)/src/configure |
330 cd dist && tar cf $(VIMVER).tar $(VIMRTDIR) | 286 cd dist && tar cf $(VIMVER).tar $(VIMRTDIR) |
403 -rm -rf dist/Vim | 359 -rm -rf dist/Vim |
404 mkdir dist/Vim | 360 mkdir dist/Vim |
405 mkdir dist/Vim/$(VIMRTDIR) | 361 mkdir dist/Vim/$(VIMRTDIR) |
406 tar cf - \ | 362 tar cf - \ |
407 $(ROOT_AMI) \ | 363 $(ROOT_AMI) \ |
408 $(SRC_ALL1) \ | 364 $(SRC_ALL) \ |
409 $(SRC_ALL2) \ | |
410 $(SRC_AMI) \ | 365 $(SRC_AMI) \ |
411 $(SRC_AMI_DOS) \ | 366 $(SRC_AMI_DOS) \ |
412 | (cd dist/Vim/$(VIMRTDIR); tar xf -) | 367 | (cd dist/Vim/$(VIMRTDIR); tar xf -) |
413 mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info | 368 mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info |
414 mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info | 369 mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info |
591 -rm -rf dist/vim$(VERSION)src.zip | 546 -rm -rf dist/vim$(VERSION)src.zip |
592 -rm -rf dist/vim | 547 -rm -rf dist/vim |
593 mkdir dist/vim | 548 mkdir dist/vim |
594 mkdir dist/vim/$(VIMRTDIR) | 549 mkdir dist/vim/$(VIMRTDIR) |
595 tar cf - \ | 550 tar cf - \ |
596 $(SRC_ALL1) \ | 551 $(SRC_ALL) \ |
597 $(SRC_ALL2) \ | |
598 $(SRC_DOS) \ | 552 $(SRC_DOS) \ |
599 $(SRC_AMI_DOS) \ | 553 $(SRC_AMI_DOS) \ |
600 $(SRC_DOS_UNIX) \ | 554 $(SRC_DOS_UNIX) \ |
601 runtime/doc/uganda.nsis.txt \ | 555 runtime/doc/uganda.nsis.txt \ |
602 | (cd dist/vim/$(VIMRTDIR); tar xf -) | 556 | (cd dist/vim/$(VIMRTDIR); tar xf -) |