forked from AGWA/titus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILDING
52 lines (32 loc) · 1.19 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
DEPENDENCIES
* OpenSSL 1.0.1 or higher, with development headers
* A C++11 compiler (such as GCC 4.7, Clang 3.0, or newer)
* Make
BUILDING
Run `make`.
INSTALLING
Run `make install`.
MAKEFILE OPTIONS
The following Makefile variables can be passed on the command line to
'make' and 'make install':
PREFIX=/path Install to given path (default: /usr/local)
BINDIR=/path Install binaries to given path
(default: $(PREFIX)/bin)
MANDIR=/path Install man pages to given path
(default: $(PREFIX)/share/man)
(man pages are installed in sectional sub-directories;
e.g. $(MANDIR)/man8)
DESTDIR=/path Stage installed files under the given path
instead of installing directly to the filesystem
(intended for package building)
Example:
make PREFIX=/usr
make install PREFIX=/usr DESTDIR=/tmp/pkgroot
DEBIAN PACKAGING
Debian packaging, complete with an init script, can be found in the
'debian' branch of the project Git repository. The package is built
using git-buildpackage as follows:
1. Check out the debian branch: `git checkout debian`
2. Build the package: `git-buildpackage -uc -us`
This creates .deb files in the parent directory (..) which can be
installed with `dpkg -i`.