diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-01-17 13:37:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-01-17 13:37:32 +0100 |
commit | c4fba6f8811d8f205f5c9772d4797691e615c6a2 (patch) | |
tree | 351dc5dc2e70cce6b01805a076b77448c6d1f71f /src/po | |
parent | 8754deb3b622186ff5efa0e5547a392aaed6a1c7 (diff) | |
download | vim-git-c4fba6f8811d8f205f5c9772d4797691e615c6a2.tar.gz |
updated for version 7.3.764v7.3.764
Problem: Not all message translation files are installed.
Solution: Also install the converted files.
Diffstat (limited to 'src/po')
-rw-r--r-- | src/po/Makefile | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/src/po/Makefile b/src/po/Makefile index c049d6a94..2814b3fe8 100644 --- a/src/po/Makefile +++ b/src/po/Makefile @@ -34,6 +34,16 @@ LANGUAGES = \ zh_TW \ zh_TW.UTF-8 +CONVERTED = \ + cs.cp1250 \ + ja.sjis \ + pl.cp1250 \ + pl.UTF-8 \ + ru.cp1251 \ + sk.cp1250 \ + uk.cp1251 \ + zh_CN.cp936 + MOFILES = \ af.mo \ ca.mo \ @@ -64,7 +74,7 @@ MOFILES = \ zh_TW.UTF-8.mo \ zh_TW.mo -CONVERTED = \ +MOCONVERTED = \ cs.cp1250.mo \ ja.sjis.mo \ pl.cp1250.mo \ @@ -126,7 +136,7 @@ MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes msgmerge .SUFFIXES: .SUFFIXES: .po .mo .pot .ck -.PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES) +.PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES) $(CONVERTED) .po.mo: $(MSGFMT) -o $@ $< @@ -135,13 +145,13 @@ MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes msgmerge $(VIM) -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq $< touch $@ -all: $(MOFILES) +all: $(MOFILES) $(MOCONVERTED) check: $(CHECKFILES) -install: $(MOFILES) +install: $(MOFILES) $(MOCONVERTED) @$(MAKE) prefixcheck - for lang in $(LANGUAGES); do \ + for lang in $(LANGUAGES) $(CONVERTED); do \ dir=$(LOCALEDIR)/$$lang/; \ if test ! -x "$$dir"; then \ mkdir $$dir; chmod 755 $$dir; \ @@ -158,13 +168,13 @@ install: $(MOFILES) uninstall: @$(MAKE) prefixcheck - for cat in $(MOFILES); do \ + for cat in $(MOFILES) $(MOCONVERTED); do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ rm -f $(LOCALEDIR)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \ done -converted: $(CONVERTED) +converted: $(MOCONVERTED) # Norwegian/Bokmal: "nb" is an alias for "no". # Copying the file is not efficient, but I don't know of another way to make |