Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-aladev committed Jan 7, 2022
1 parent 8b41ab3 commit 199d9bd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ You can use [scripts/release.sh](scripts/release.sh), it will create package for
You can also use [overlay](https://github.com/andrew-aladev/overlay) for gentoo.

Installation for Windows (Visual Studio) from source is not so trivial:
1. Install Visual Studio with components: msvc, sdk.
2. Install [chocolatey](https://chocolatey.org) with components: cmake, curl, git, python, xsltproc, docbook-bundle, zip.
3. Install [asciidoc](https://asciidoc.org/INSTALL.html).
1. Install Visual Studio with components: msvc, windows sdk, ucrt.
2. Install [chocolatey](https://chocolatey.org) with components: cmake, curl, git, python, xsltproc, docbook-bundle, zip, nsis.
3. Install [asciidoc](https://pypi.org/project/asciidoc/).
4. Download [docbook-xml-4.5.zip](https://docbook.org/xml/4.5/docbook-xml-4.5.zip) and unpack it to `C:\ProgramData\chocolatey\lib\docbook-bundle\docbook-4.5`.
5. Edit `C:\ProgramData\chocolatey\lib\docbook-bundle\catalog.xml` and append `<nextCatalog catalog="./docbook-4.5/catalog.xml"/>`.
6. Launch `x64 Native Tools Command Promp` as admin.
Expand All @@ -53,7 +53,8 @@ Installation for Windows (Visual Studio) from source is not so trivial:
git clone "https://github.com/libtom/libtommath.git" --depth 1 && cd "libtommath"
nmake -f "makefile.msvc" install && cd ".."
set "XML_CATALOG_FILES=C:\ProgramData\chocolatey\lib\docbook-bundle\catalog.xml"
set "INCLUDE=C:\devel\include;%INCLUDE%" && set "LIB=C:\devel\lib;%LIB%" && set "PATH=C:\devel\bin;%PATH%"
set "INCLUDE=C:\devel\include;%INCLUDE%" && set "LIB=C:\devel\lib;%LIB%"
set "PATH=C:\devel\bin;C:\Program Files\Git\bin;C:\Program Files\CMake\bin;%PATH%"
cd build && bash "..\scripts\release.sh"
```

Expand Down

0 comments on commit 199d9bd

Please sign in to comment.