download.texi | 46 ++++++++++++++++++++++++---------------------- www.mk | 4 ++-- www.texi | 2 ++ diff --git a/download.texi b/download.texi index 0ce47743e64cca420003f809284ffcb066c0af650f259ba8d6094108a3175786..b4e11b1146ee666e153de829f76388940c15970a1cc1b2e8691891e1714a9271 100644 --- a/download.texi +++ b/download.texi @@ -4,22 +4,22 @@ Preferable way is to download tarball with the signature from website and, for example, run tests with benchmarks: -@verbatim -$ [fetch|wget] http://gogost.cypherpunks.ru/gogost-4.2.0.tar.xz -$ [fetch|wget] http://gogost.cypherpunks.ru/gogost-4.2.0.tar.xz.sig -$ gpg --verify gogost-4.2.0.tar.xz.sig gogost-4.2.0.tar.xz -$ xz -d < gogost-4.2.0.tar.xz | tar xf - -$ make -C gogost-4.2.0 all bench -$ echo hello world | ./gogost-4.2.0/streebog256 +@example +$ [fetch|wget] http://gogost.cypherpunks.ru/gogost-@value{VERSION}.tar.xz +$ [fetch|wget] http://gogost.cypherpunks.ru/gogost-@value{VERSION}.tar.xz.sig +$ gpg --verify gogost-@value{VERSION}.tar.xz.sig gogost-@value{VERSION}.tar.xz +$ xz -d < gogost-@value{VERSION}.tar.xz | tar xf - +$ make -C gogost-@value{VERSION} all bench +$ echo hello world | gogost-@value{VERSION}/streebog256 f72018189a5cfb803dbe1f2149cf554c40093d8e7f81c21e08ac5bcd09d9934d -@end verbatim +@end example And then you can include its source code in your project for example like this: -@verbatim +@example $ mkdir -p myproj/src -$ cp -r gogost-4.2.0/src/go.cypherpunks.ru myproj/src +$ cp -r gogost-@value{VERSION}/src/go.cypherpunks.ru myproj/src $ export GOPATH=$PWD/myproj $ cd myproj/src $ cat > main.go < /home/stargrave/gogost-4.2.0/src/go.cypherpunks.ru/gogost/v4 -@end verbatim + +@example +require go.cypherpunks.ru/gogost/v4 v@value{VERSION} +replace go.cypherpunks.ru/gogost/v4 => /home/stargrave/gogost-@value{VERSION}/src/go.cypherpunks.ru/gogost/v4 +@end example You can obtain development source code with @command{git clone git://git.cypherpunks.ru/gogost.git}. diff --git a/www.mk b/www.mk index 04ab61a5178ef3447ca21bd3502e3e8fdc64e27f968db299ab20dc6601697327..24b05025bc3f7b8e51496283b388cd922f5207daa8e8c8cb00f260624baa0002 100644 --- a/www.mk +++ b/www.mk @@ -1,8 +1,8 @@ -all: gogost.html - MAKEINFO ?= makeinfo CSS != cat style.css + +all: gogost.html gogost.html: *.texi rm -f gogost.html/*.html diff --git a/www.texi b/www.texi index 8a5942893f87d7844e0c92b0408b6052dc53439322cc006d58393c4a05fbfe32..bea63e0a5bfe3fd15b89a654fdfe7bc2fffe60fe0126271e6b4c056ac0ea28a2 100644 --- a/www.texi +++ b/www.texi @@ -2,6 +2,8 @@ \input texinfo @documentencoding UTF-8 @settitle GoGOST +@set VERSION 4.2.0 + @copying Copyright @copyright{} 2015-2019 @email{stargrave@@stargrave.org, Sergey Matveev} @end copying