Mercurial > vim
comparison Makefile @ 15410:cb1652e41314 v8.1.0713
patch 8.1.0713: images for NSIS take up too much space
commit https://github.com/vim/vim/commit/24877cf22c59acefc69c33d8368841a149135fed
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 10 21:51:48 2019 +0100
patch 8.1.0713: images for NSIS take up too much space
Problem: Images for NSIS take up too much space.
Solution: Put the images in a zip file.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 10 Jan 2019 22:00:06 +0100 |
parents | fada746a971b |
children | e6fb5d39a24c |
comparison
equal
deleted
inserted
replaced
15409:400233bbf952 | 15410:cb1652e41314 |
---|---|
203 # https://github.com/vim/vim-win32-installer/releases | 203 # https://github.com/vim/vim-win32-installer/releases |
204 # It is part of gvim_8.0.*_x64.zip as vim/vim80/GvimExt/gvimext64.dll. | 204 # It is part of gvim_8.0.*_x64.zip as vim/vim80/GvimExt/gvimext64.dll. |
205 # - Make sure there is a diff.exe two levels up (get it from a previous Vim | 205 # - Make sure there is a diff.exe two levels up (get it from a previous Vim |
206 # version). Also put winpty32.dll and winpty-agent.exe there. | 206 # version). Also put winpty32.dll and winpty-agent.exe there. |
207 # - go to ../nsis and do: | 207 # - go to ../nsis and do: |
208 # > unzip icons.zip | |
208 # > makensis gvim.nsi (takes a few minutes). | 209 # > makensis gvim.nsi (takes a few minutes). |
209 # ignore warning for libwinpthread-1.dll | 210 # ignore warning for libwinpthread-1.dll |
210 # - Copy gvim##.exe to the dist directory. | 211 # - Copy gvim##.exe to the dist directory. |
211 # | 212 # |
212 # 64 bit builds (these are not in the normal distribution, the 32 bit build | 213 # 64 bit builds (these are not in the normal distribution, the 32 bit build |
466 $(LANG_GEN_BIN) \ | 467 $(LANG_GEN_BIN) \ |
467 | (cd dist/vim/$(VIMRTDIR); tar xf -) | 468 | (cd dist/vim/$(VIMRTDIR); tar xf -) |
468 -rm $(IN_README_DIR) | 469 -rm $(IN_README_DIR) |
469 mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR) | 470 mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR) |
470 rmdir dist/vim/$(VIMRTDIR)/runtime | 471 rmdir dist/vim/$(VIMRTDIR)/runtime |
471 # Add the message translations. Trick: skip ja.mo and use ja.sjis.mo instead. | 472 # Add the message translations. Trick: skip ja.mo/ja.euc-jp.mo and use |
472 # Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo, sk.mo / sk.cp1250.mo, | 473 # ja.sjis.mo instead. Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo, |
473 # zh_CN.mo / zh_CN.cp936.mo, uk.mo / uk.cp1251.mo and ru.mo / ru.cp1251.mo. | 474 # sk.mo / sk.cp1250.mo, zh_CN.mo / zh_CN.cp936.mo, uk.mo / uk.cp1251.mo and |
475 # ru.mo / ru.cp1251.mo. | |
474 for i in $(LANG_DOS); do \ | 476 for i in $(LANG_DOS); do \ |
475 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 \ | 477 if test "$$i" != "src/po/ja.mo" -a "$$i" != "src/po/ja.euc-jp.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 \ |
476 n=`echo $$i | sed -e "s+src/po/\([-a-zA-Z0-9_]*\(.UTF-8\)*\)\(.sjis\)*\(.cp1250\)*\(.cp1251\)*\(.cp936\)*.mo+\1+"`; \ | 478 n=`echo $$i | sed -e "s+src/po/\([-a-zA-Z0-9_]*\(.UTF-8\)*\)\(.sjis\)*\(.cp1250\)*\(.cp1251\)*\(.cp936\)*.mo+\1+"`; \ |
477 mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \ | 479 mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \ |
478 mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \ | 480 mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \ |
479 cp $$i dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES/vim.mo; \ | 481 cp $$i dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES/vim.mo; \ |
480 fi \ | 482 fi \ |