1 @node Build-instructions
2 @section Build instructions
4 Make sure that Go is installed. For example to install it from packages:
8 @verb{|pkg install go|}
10 @verb{|apt install golang|}
14 $ [fetch|wget] http://www.nncpgo.org/download/nncp-5.1.1.tar.xz
15 $ [fetch|wget] http://www.nncpgo.org/download/nncp-5.1.1.tar.xz.sig
16 $ gpg --verify nncp-5.1.1.tar.xz.sig nncp-5.1.1.tar.xz
17 $ xz --decompress --stdout nncp-5.1.1.tar.xz | tar xf -
18 $ make -C nncp-5.1.1 all
21 There is @command{install} make-target respecting @env{DESTDIR}. It will
22 install binaries and info-documentation:
25 # make -C nncp-5.1.1 install PREFIX=/usr/local