minor adjustment for Makefile and document.lua

This commit is contained in:
Qingping Hou
2012-08-25 22:52:12 +08:00
parent 3fb28b08fd
commit c1ccff70ad
2 changed files with 6 additions and 2 deletions

View File

@@ -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)

View File

@@ -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