diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -354,6 +354,7 @@ lang: dist prepare touch dist/$(VIMRTDIR)/src/po/sk.cp1250.po touch dist/$(VIMRTDIR)/src/po/zh_CN.cp936.po touch dist/$(VIMRTDIR)/src/po/ru.cp1251.po + touch dist/$(VIMRTDIR)/src/po/uk.cp1251.po cd dist && tar cf $(VIMVER)-lang.tar $(VIMRTDIR) gzip -9 dist/$(VIMVER)-lang.tar @@ -568,9 +569,9 @@ doslang: dist prepare no_title.vim dist/$(COMMENT_LANG) find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \; # Add the message translations. Trick: skip ja.mo and use ja.sjis.mo instead. # Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo, sk.mo / sk.cp1250.mo, -# zh_CN.mo / zh_CN.cp936.mo and ru.mo / ru.cp1251.mo. +# zh_CN.mo / zh_CN.cp936.mo, uk.mo / uk.cp1251.mo and ru.mo / ru.cp1251.mo. for i in $(LANG_DOS); do \ - 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"; then \ + 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 \ n=`echo $$i | sed -e "s+src/po/\([-a-zA-Z0-9_]*\(.UTF-8\)*\)\(.sjis\)*\(.cp1250\)*\(.cp1251\)*\(.cp936\)*.mo+\1+"`; \ mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \ mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \ |