|
|
@ -17,6 +17,14 @@ EMU_DIR=emu
|
|
|
|
# files to copy from main directory
|
|
|
|
# files to copy from main directory
|
|
|
|
LUA_FILES=reader.lua
|
|
|
|
LUA_FILES=reader.lua
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# for gettext
|
|
|
|
|
|
|
|
DOMAIN=koreader
|
|
|
|
|
|
|
|
TEMPLATE_DIR=l10n/templates
|
|
|
|
|
|
|
|
KOREADER_MISC_TOOL=../misc
|
|
|
|
|
|
|
|
XGETTEXT_BIN=$(KOREADER_MISC_TOOL)/gettext/lua_xgettext.py
|
|
|
|
|
|
|
|
MO_DIR=i18n
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
all: $(KOR_BASE)/koreader-base $(KOR_BASE)/extr
|
|
|
|
all: $(KOR_BASE)/koreader-base $(KOR_BASE)/extr
|
|
|
|
|
|
|
|
|
|
|
|
$(KOR_BASE)/koreader-base $(KOR_BASE)/extr:
|
|
|
|
$(KOR_BASE)/koreader-base $(KOR_BASE)/extr:
|
|
|
@ -71,3 +79,10 @@ customupdate: $(KOR_BASE)/koreader-base $(KOR_BASE)/extr
|
|
|
|
rm -rf $(INSTALL_DIR)
|
|
|
|
rm -rf $(INSTALL_DIR)
|
|
|
|
# @TODO write an installation script for KUAL (houqp)
|
|
|
|
# @TODO write an installation script for KUAL (houqp)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pot:
|
|
|
|
|
|
|
|
$(XGETTEXT_BIN) reader.lua `find frontend -iname "*.lua"` \
|
|
|
|
|
|
|
|
> $(TEMPLATE_DIR)/$(DOMAIN).pot
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|