reorganize launching scripts for both kindle and kobo
so that platform specific files are collected into platform directory respectively
This commit is contained in:
1 parent
4156b2edd0
commit
aa13e7ab4f
13 files changed
+10
-7
No files matched your search
@@ -12,8 +12,7 @@ VERSION=$(shell git describe HEAD)
|
||||
INSTALL_DIR=koreader-$(MACHINE)
|
||||
|
||||
# files to link from main directory
|
||||
INSTALL_FILES=reader.lua frontend resources koreader.sh \
|
||||
koreader_kobo.sh kobo_suspend.sh defaults.lua \
|
||||
INSTALL_FILES=reader.lua frontend resources defaults.lua \
|
||||
git-rev README.md COPYING
|
||||
|
||||
# for gettext
|
||||
@@ -47,14 +46,18 @@ endif
|
||||
mkdir -p $(INSTALL_DIR)/koreader/data/tessdata
|
||||
mkdir -p $(INSTALL_DIR)/koreader/fonts/host
|
||||
# Kindle startup
|
||||
ln -sf ../extensions $(INSTALL_DIR)/
|
||||
ln -sf ../launchpad $(INSTALL_DIR)/
|
||||
ln -sf ../kindle/extensions $(INSTALL_DIR)/
|
||||
ln -sf ../kindle/launchpad $(INSTALL_DIR)/
|
||||
ln -sf ../kindle/koreader.sh $(INSTALL_DIR)/koreader
|
||||
# Kobo startup
|
||||
mkdir -p $(INSTALL_DIR)/kobo/mnt/onboard/.kobo
|
||||
ln -sf ../../../../../fmon $(INSTALL_DIR)/kobo/mnt/onboard/.kobo/
|
||||
ln -sf ../../../../../kobo/fmon $(INSTALL_DIR)/kobo/mnt/onboard/.kobo/
|
||||
cd $(INSTALL_DIR)/kobo && tar -czhf ../KoboRoot.tgz mnt
|
||||
cp resources/koreader.png $(INSTALL_DIR)/koreader.png
|
||||
cp fmon/README.txt $(INSTALL_DIR)/README_kobo.txt
|
||||
cp kobo/fmon/README.txt $(INSTALL_DIR)/README_kobo.txt
|
||||
cp kobo/koreader_kobo.sh $(INSTALL_DIR)/koreader
|
||||
cp kobo/kobo_suspend.sh $(INSTALL_DIR)/koreader
|
||||
cp kobo/*.bin $(INSTALL_DIR)/koreader
|
||||
ifndef EMULATE_READER
|
||||
# clean up, remove unused files for releases
|
||||
rm -rf $(INSTALL_DIR)/koreader/data/{cr3.ini,cr3skin-format.txt,desktop,devices,manual}
|
||||
@@ -101,7 +104,7 @@ koboupdate: all
|
||||
zip -9 -r \
|
||||
../koreader-kobo-$(MACHINE)-$(VERSION).zip \
|
||||
KoboRoot.tgz koreader koreader.png README_kobo.txt \
|
||||
-x "koreader/resources/fonts/*" "koreader/resources/icons/src/*" "koreader/spec/*" "koreader/Kobo/*"
|
||||
-x "koreader/resources/fonts/*" "koreader/resources/icons/src/*" "koreader/spec/*"
|
||||
|
||||
pot:
|
||||
$(XGETTEXT_BIN) reader.lua `find frontend -iname "*.lua"` \
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user