X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fbuilding.texi;h=cb4d4393e1f88f0c13a95248c6d05ad50e3b3d7d;hb=1d2ce674b042d07fd9b37a46578c8b62bb0345b7;hp=4f30e3e7dfee2f652cb8009de2fd1a6377517f38;hpb=b2e36aeaa5dc1c9649c6895d938208d92ddc3fa3;p=nncp.git diff --git a/doc/building.texi b/doc/building.texi index 4f30e3e..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.2.tar.xz -$ [fetch|wget] http://www.nncpgo.org/download/nncp-5.1.2.tar.xz.sig -$ gpg --verify nncp-5.1.2.tar.xz.sig nncp-5.1.2.tar.xz -$ xz --decompress --stdout nncp-5.1.2.tar.xz | tar xf - -$ make -C nncp-5.1.2 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.2 install PREFIX=/usr/local -@end verbatim +@example +# make -C nncp-@value{VERSION} install PREFIX=/usr/local +@end example