2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00

make: install missing cr3.css… (#12262)

This commit is contained in:
Benoit Pierre 2024-08-01 12:11:28 +00:00 committed by GitHub
parent a24bb70066
commit 7ef78e606e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,6 +58,12 @@ define CR3GUI_DATADIR_EXCLUDES
endef endef
CR3GUI_DATADIR_FILES = $(filter-out $(CR3GUI_DATADIR_EXCLUDES),$(wildcard $(CR3GUI_DATADIR)/*)) CR3GUI_DATADIR_FILES = $(filter-out $(CR3GUI_DATADIR_EXCLUDES),$(wildcard $(CR3GUI_DATADIR)/*))
define DATADIR_FILES
$(CR3GUI_DATADIR_FILES)
$(OUTPUT_DIR_DATAFILES)
$(THIRDPARTY_DIR)/kpvcrlib/cr3.css
endef
# files to link from main directory # files to link from main directory
INSTALL_FILES=reader.lua setupkoenv.lua frontend resources defaults.lua datastorage.lua \ INSTALL_FILES=reader.lua setupkoenv.lua frontend resources defaults.lua datastorage.lua \
l10n tools README.md COPYING l10n tools README.md COPYING
@ -105,7 +111,7 @@ endif
@echo "[*] Install data files" @echo "[*] Install data files"
! test -L $(INSTALL_DIR)/koreader/data || rm $(INSTALL_DIR)/koreader/data ! test -L $(INSTALL_DIR)/koreader/data || rm $(INSTALL_DIR)/koreader/data
install -d $(INSTALL_DIR)/koreader/data install -d $(INSTALL_DIR)/koreader/data
$(SYMLINK) $(OUTPUT_DIR_DATAFILES) $(CR3GUI_DATADIR_FILES) $(INSTALL_DIR)/koreader/data/ $(SYMLINK) $(strip $(DATADIR_FILES)) $(INSTALL_DIR)/koreader/data/
ifneq (,$(IS_RELEASE)) ifneq (,$(IS_RELEASE))
@echo "[*] Clean up, remove unused files for releases" @echo "[*] Clean up, remove unused files for releases"
rm -rf $(INSTALL_DIR)/koreader/data/{cr3.ini,desktop,devices,dict,manual,tessdata} rm -rf $(INSTALL_DIR)/koreader/data/{cr3.ini,desktop,devices,dict,manual,tessdata}