1 Prerequisites for building from sources:
2 mupdf [http://mupdf.com/
3 git://git.ghostscript.com/mupdf.git
4 commit 75f6057a294db286856965e32685032b9f07118c]
5 ocaml (4.02+) [http://ocaml.org/]
6 gcc [https://gcc.gnu.org/]
7 binutils [http://www.gnu.org/software/binutils/]
8 make [http://www.gnu.org/software/make/]
9 git [https://git-scm.com/]
11 llpp% git clone git://git.ghostscript.com/mupdf.git --recursive
13 mupdf% make build=native
19 Standalone binary should now be in build/llpp
23 ghc [https://www.haskell.org/ghc/]
24 shake [http://shakebuild.com/]
26 llpp% runghc Build.hs -j0 [build/llpp.native]
28 Standalone binary should now be in build/llpp[.native]