mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
minor adjustment for Makefile and document.lua
This commit is contained in:
4
Makefile
4
Makefile
@@ -32,7 +32,7 @@ CXXFLAGS:=-O3 $(SYSROOT)
|
||||
LDFLAGS:= $(SYSROOT)
|
||||
ARM_CFLAGS:=-march=armv6
|
||||
# use this for debugging:
|
||||
#CFLAGS:=-O0 -g
|
||||
#CFLAGS:=-O0 -g $(SYSROOT)
|
||||
|
||||
DYNAMICLIBSTDCPP:=-lstdc++
|
||||
ifdef STATICLIBSTDCPP
|
||||
@@ -217,7 +217,7 @@ customupdate: all
|
||||
cp -rpL data/*.css $(INSTALL_DIR)/data
|
||||
cp -rpL fonts $(INSTALL_DIR)
|
||||
cp -r resources $(INSTALL_DIR)
|
||||
cp -r frontend $(INSTALL_DIR)
|
||||
cp -rpL frontend $(INSTALL_DIR)
|
||||
mkdir $(INSTALL_DIR)/fonts/host
|
||||
zip -9 -r kindlepdfviewer-$(VERSION).zip $(INSTALL_DIR) launchpad/ kite/
|
||||
rm -Rf $(INSTALL_DIR)
|
||||
|
||||
@@ -70,6 +70,10 @@ function Document:new(o)
|
||||
return o
|
||||
end
|
||||
|
||||
-- override this method to open a document
|
||||
function Document:init()
|
||||
end
|
||||
|
||||
-- this might be overridden by a document implementation
|
||||
function Document:unlock(password)
|
||||
-- return true instead when the password provided unlocked the document
|
||||
|
||||
Reference in New Issue
Block a user