mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
make: symlink fonts / plugins on install
This commit is contained in:
committed by
Frans de Jonge
parent
49e3251e7b
commit
5a146414db
8
Makefile
8
Makefile
@@ -94,13 +94,9 @@ ifdef SHIP_SHARED_STL
|
||||
$(STRIP) --strip-unneeded $(INSTALL_DIR)/koreader/libs/$(notdir $(SHARED_STL_LIB))
|
||||
endif
|
||||
@echo "[*] Install plugins"
|
||||
@# TODO: link istead of cp?
|
||||
$(RCP) plugins/. $(INSTALL_DIR)/koreader/plugins/.
|
||||
@# purge deleted plugins
|
||||
for d in $$(ls $(INSTALL_DIR)/koreader/plugins); do \
|
||||
test -d plugins/$$d || rm -rf $(INSTALL_DIR)/koreader/plugins/$$d ; done
|
||||
$(SYMLINK) $(abspath plugins) $(INSTALL_DIR)/koreader/
|
||||
@echo "[*] Install resources"
|
||||
$(RCP) -pL resources/fonts/. $(INSTALL_DIR)/koreader/fonts/.
|
||||
$(SYMLINK) $(abspath resources/fonts/*) $(INSTALL_DIR)/koreader/fonts/
|
||||
install -d $(INSTALL_DIR)/koreader/{screenshots,data/{dict,tessdata},fonts/host,ota}
|
||||
ifeq ($(IS_RELEASE),1)
|
||||
@echo "[*] Clean up, remove unused files for releases"
|
||||
|
||||
Reference in New Issue
Block a user