diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-05-26 14:26:08 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-05-27 19:58:41 -0400 |
commit | a0b78b5733a9fa6c9a1d590405f93964842072dd (patch) | |
tree | 53986042d43455e63474ae70cc24e20eec6dbe91 | |
parent | cd49b073e90cb34591193216ede3b11c01350c18 (diff) | |
download | rneovim-a0b78b5733a9fa6c9a1d590405f93964842072dd.tar.gz rneovim-a0b78b5733a9fa6c9a1d590405f93964842072dd.tar.bz2 rneovim-a0b78b5733a9fa6c9a1d590405f93964842072dd.zip |
Fix localization: Fix build: Fix included source files.
Problem : Previous build assumed all *.c files were in parent dir. It
only included globals.h, too.
Solution : Include all *.c and *.h files under parent dir (including
subdirs).
-rw-r--r-- | src/nvim/po/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/nvim/po/Makefile b/src/nvim/po/Makefile index d9a9d4607c..92d05ad103 100644 --- a/src/nvim/po/Makefile +++ b/src/nvim/po/Makefile @@ -125,6 +125,8 @@ CHECKFILES = \ uk.cp1251.ck \ zh_CN.cp936.ck +SOURCE_FILES = $(shell find .. -type f -name '*.[ch]') + PACKAGE = nvim SHELL = /bin/sh VIM = ../../../build/bin/nvim @@ -272,11 +274,11 @@ distclean: clean checkclean: rm -f *.ck -$(PACKAGE).pot: ../*.c ../globals.h - cd ..; $(XGETTEXT) --default-domain=$(PACKAGE) \ +$(PACKAGE).pot: $(SOURCE_FILES) + $(XGETTEXT) --default-domain=$(PACKAGE) \ --add-comments --keyword=_ --keyword=N_ \ - *.c globals.h - mv -f ../$(PACKAGE).po $(PACKAGE).pot + $(SOURCE_FILES) + mv $(PACKAGE).po $(PACKAGE).pot update-po: $(LANGUAGES) |