-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathBUILDING
27 lines (22 loc) · 1.03 KB
/
BUILDING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Prerequisites for building from sources:
bash [https://en.wikipedia.org/wiki/Bash_(Unix_shell)]
mupdf [https://mupdf.com]
opengl [https://en.wikipedia.org/wiki/OpenGL]
git [https://git-scm.com]
ocaml 4.14.0 [https://ocaml.org]
If not present will be downloaded from the network and
built/used locally without system-wide installation.
This requires either:
wget [https://www.gnu.org/software/wget]
or curl [https://curl.haxx.se]
asciidoc [https://asciidoc.org/]
Is needed if one wants to build man pages
To download mupdf+prerequisites that llpp is known to work with:
- mkdir build && sh misc/getmupdf.sh build/mupdf
To build llpp (binary will be in build/llpp):
- bash build.bash build
# by default llpp looks for .config/llpp.conf file
# hence .config directory should be present otherwise
# llpp will fail to start
To build man pages (will be in build/doc/[name].1)
- bash build.bash build doc