3 mupdf
=/home
/malc
/x
/rcs
/git
/mupdf
5 mupdflibpath
=$mupdf/build
/release
6 mupdfincpath
=$mupdf/fitz
:$mupdf/pdf
:$mupdf/xps
:$mupdf/cbz
8 cclib
="-lmupdf -lmuxps -lmucbz -lfitz"
9 cclib
="$cclib -lz -ljpeg -lopenjpeg -ljbig2dec -lfreetype"
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 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 parser.cmo
$srcpath/parser.ml
20 ocamlc
-c -o main.cmo
-I +lablGL
$srcpath/main.ml
22 ocamlc
-custom -o llpp \
24 str.cma unix.cma lablgl.cma lablglut.cma \