3 mupdf
=/home
/malc
/x
/rcs
/git
/mupdf
5 mupdflibpath
=$mupdf/build
/release
6 mupdfincpath
=$mupdf/fitz
:$mupdf/pdf
:$mupdf/xps
:$mupdf/cbz
9 cclib
="$cclib -lz -ljpeg -lopenjpeg -ljbig2dec -lfreetype"
10 cclib
="$cclib -lX11 -lpthread"
11 ccopt
="$(freetype-config --cflags) -O -include ft2build.h -D_GNU_SOURCE"
12 export LIBRARY_PATH
=$LIBRARY_PATH:$mupdflibpath
13 export CPATH
=$CPATH:$mupdfincpath
15 sh
$srcpath/mkhelp.sh
$srcpath/keystoml.ml
$srcpath/KEYS
> help.ml
17 ocamlc
-c -o link.o
-ccopt "$ccopt" $srcpath/link.c
18 ocamlc
-c -o help.cmo
help.ml
19 ocamlc
-c -o wsi.cmi
$srcpath/wsi.mli
20 ocamlc
-c -o wsi.cmo
$srcpath/wsi.ml
21 ocamlc
-c -o parser.cmo
$srcpath/parser.ml
22 ocamlc
-c -o main.cmo
-I +lablGL
$srcpath/main.ml
24 ocamlc
-custom -o llpp \
26 str.cma unix.cma lablgl.cma \