diff --git a/Makefile b/Makefile index 709fab96c..8ff43ed3a 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,9 @@ CRENGINEDIR=$(KPVCRLIGDIR)/crengine FREETYPEDIR=$(MUPDFDIR)/thirdparty/freetype-2.4.8 LFSDIR=luafilesystem +# must point to directory with *.ttf fonts for crengine +TTF_FONTS_DIR=/usr/share/fonts/truetype/freefont/ + # set this to your ARM cross compiler: CC:=arm-unknown-linux-gnueabi-gcc @@ -116,7 +119,8 @@ fetchthirdparty: -rm -Rf mupdf/thirdparty git submodule init git submodule update - ln -s kpvcrlib/crengine/cr3gui/data data + ln -sf kpvcrlib/crengine/cr3gui/data data + test -d fonts || ln -sf $(TTF_FONTS_DIR) fonts test -f mupdf-thirdparty.zip || wget http://www.mupdf.com/download/mupdf-thirdparty.zip unzip mupdf-thirdparty.zip -d mupdf cd mupdf/thirdparty/jpeg-*/ && \