From e71aa93a971c19d8a0d893c5278d999484215b23 Mon Sep 17 00:00:00 2001 From: chrox Date: Tue, 30 Apr 2013 18:46:04 +0800 Subject: [PATCH] add sdcv in customupdate --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b87f4ff62..d19eb3589 100644 --- a/Makefile +++ b/Makefile @@ -25,10 +25,10 @@ XGETTEXT_BIN=$(KOREADER_MISC_TOOL)/gettext/lua_xgettext.py MO_DIR=i18n -all: $(KOR_BASE)/koreader-base $(KOR_BASE)/extr mo +all: $(KOR_BASE)/koreader-base $(KOR_BASE)/extr $(KOR_BASE)/sdcv mo -$(KOR_BASE)/koreader-base $(KOR_BASE)/extr: - make -C $(KOR_BASE) koreader-base extr +$(KOR_BASE)/koreader-base $(KOR_BASE)/extr $(KOR_BASE)/sdcv: + make -C $(KOR_BASE) koreader-base extr sdcv fetchthirdparty: git submodule init @@ -50,6 +50,7 @@ bootstrapemu: test -d $(EMU_DIR)/resources || (cd $(EMU_DIR) && ln -s ../resources ./) test -e $(EMU_DIR)/koreader-base || (cd $(EMU_DIR) && ln -s ../$(KOR_BASE)/koreader-base ./) test -e $(EMU_DIR)/extr || (cd $(EMU_DIR) && ln -s ../$(KOR_BASE)/extr ./) + test -e $(EMU_DIR)/sdcv || (cd $(EMU_DIR) && ln -s ../$(KOR_BASE)/sdcv ./) test -e $(EMU_DIR)/reader.lua || (cd $(EMU_DIR) && ln -s ../reader.lua ./) test -e $(EMU_DIR)/history || (mkdir $(EMU_DIR)/history) test -e $(EMU_DIR)/$(MO_DIR) || (cd $(EMU_DIR) && ln -s ../$(MO_DIR) ./) @@ -64,7 +65,7 @@ customupdate: all # create new dir for package mkdir -p $(INSTALL_DIR)/{history,screenshots,clipboard,libs} cp -p README.md COPYING $(KOR_BASE)/{koreader-base,extr} koreader.sh $(LUA_FILES) $(INSTALL_DIR) - $(STRIP) --strip-unneeded $(INSTALL_DIR)/koreader-base $(INSTALL_DIR)/extr + $(STRIP) --strip-unneeded $(INSTALL_DIR)/koreader-base $(INSTALL_DIR)/extr $(INSTALL_DIR)/sdcv mkdir $(INSTALL_DIR)/data cp -L koreader-base/$(DJVULIB) $(KOR_BASE)/$(CRELIB) \ $(KOR_BASE)/$(LUALIB) $(KOR_BASE)/$(K2PDFOPTLIB) \