X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fbuilding.texi;h=cb4d4393e1f88f0c13a95248c6d05ad50e3b3d7d;hb=1d2ce674b042d07fd9b37a46578c8b62bb0345b7;hp=3911ae5f19b5579583d75c9208477663fa4ce023;hpb=8f43a18b96b1fb5678d5e1e9ca13f99b734694ef;p=nncp.git diff --git a/doc/building.texi b/doc/building.texi index 3911ae5..cb4d439 100644 --- a/doc/building.texi +++ b/doc/building.texi @@ -10,17 +10,17 @@ Make sure that Go is installed. For example to install it from packages: @verb{|apt install golang|} @end table -@verbatim -$ [fetch|wget] http://www.nncpgo.org/download/nncp-5.1.1.tar.xz -$ [fetch|wget] http://www.nncpgo.org/download/nncp-5.1.1.tar.xz.sig -$ gpg --verify nncp-5.1.1.tar.xz.sig nncp-5.1.1.tar.xz -$ xz --decompress --stdout nncp-5.1.1.tar.xz | tar xf - -$ make -C nncp-5.1.1 all -@end verbatim +@example +$ [fetch|wget] http://www.nncpgo.org/download/nncp-@value{VERSION}.tar.xz +$ [fetch|wget] http://www.nncpgo.org/download/nncp-@value{VERSION}.tar.xz.sig +$ gpg --verify nncp-@value{VERSION}.tar.xz.sig nncp-@value{VERSION}.tar.xz +$ xz --decompress --stdout nncp-@value{VERSION}.tar.xz | tar xf - +$ make -C nncp-@value{VERSION} all +@end example There is @command{install} make-target respecting @env{DESTDIR}. It will install binaries and info-documentation: -@verbatim -# make -C nncp-5.1.1 install PREFIX=/usr/local -@end verbatim +@example +# make -C nncp-@value{VERSION} install PREFIX=/usr/local +@end example