minor adjustment for Makefile and document.lua

pull/2/merge
Qingping Hou 12 years ago
parent 3fb28b08fd
commit c1ccff70ad

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

Loading…
Cancel
Save