]> Cypherpunks.ru repositories - nncp.git/blob - doc/building.texi
Operations progress
[nncp.git] / doc / building.texi
1 @node Build-instructions
2 @section Build instructions
3
4 Make sure that Go is installed. For example to install it from packages:
5
6 @table @asis
7 @item FreeBSD
8     @verb{|pkg install go|}
9 @item Debian, Ubuntu
10     @verb{|apt install golang|}
11 @end table
12
13 @example
14 $ [fetch|wget] http://www.nncpgo.org/download/nncp-@value{VERSION}.tar.xz
15 $ [fetch|wget] http://www.nncpgo.org/download/nncp-@value{VERSION}.tar.xz.sig
16 $ gpg --verify nncp-@value{VERSION}.tar.xz.sig nncp-@value{VERSION}.tar.xz
17 $ xz --decompress --stdout nncp-@value{VERSION}.tar.xz | tar xf -
18 $ make -C nncp-@value{VERSION} all
19 @end example
20
21 There is @command{install} make-target respecting @env{DESTDIR}. It will
22 install binaries and info-documentation:
23
24 @example
25 # make -C nncp-@value{VERSION} install PREFIX=/usr/local
26 @end example