From be7794eb065294d156e4f554b6fef7d8f8046bac Mon Sep 17 00:00:00 2001 From: chrox Date: Sun, 16 Jun 2013 15:37:31 +0800 Subject: [PATCH] add 'make fonts' command that merges additional fonts in resources into fonts pool --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c5210abb9..e23fe61ca 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ XGETTEXT_BIN=$(KOREADER_MISC_TOOL)/gettext/lua_xgettext.py MO_DIR=i18n -all: $(KOR_BASE)/koreader-base $(KOR_BASE)/extr $(KOR_BASE)/sdcv mo +all: $(KOR_BASE)/koreader-base $(KOR_BASE)/extr $(KOR_BASE)/sdcv mo fonts $(KOR_BASE)/koreader-base $(KOR_BASE)/extr $(KOR_BASE)/sdcv: make -C $(KOR_BASE) koreader-base extr sdcv @@ -97,4 +97,5 @@ mo: msgfmt -o $(MO_DIR)/$$lingua/LC_MESSAGES/$$resource.mo $$po ; \ done - +fonts: + cp -rpL resources/fonts/* $(KOR_BASE)/fonts