##// END OF EJS Templates
Update win32 build instructions for rst2html
Patrick Mezard -
r9179:9e5e2e07 default
parent child Browse files
Show More
@@ -33,8 +33,8 b' It has the following prerequisites, at l'
33 33 add_path (you need only add_path.exe in the zip file)
34 34 http://www.barisione.org/apps.html#add_path
35 35
36 Asciidoc - optional
37 http://www.methods.co.nz/asciidoc/
36 Docutils
37 http://docutils.sourceforge.net/
38 38
39 39 And, of course, Mercurial itself.
40 40
@@ -79,11 +79,16 b' following files:'
79 79 Microsoft.VC90.MFC.manifest)
80 80
81 81 Before building the installer, you have to build Mercurial HTML documentation
82 (or fix mercurial.iss to not reference the doc directory). Assuming you have an
83 "asciidoc.bat" batch file somewhere in your PATH:
82 (or fix mercurial.iss to not reference the doc directory). Docutils does not
83 come with a ready-made script for rst2html.py, so you will have to write your
84 own and put it in %PATH% like:
85
86 @python c:\pythonXX\scripts\rst2html.py %*
87
88 Then build the documentation with:
84 89
85 90 cd doc
86 mingw32-make ASCIIDOC=asciidoc.bat html
91 mingw32-make RST2HTML=rst2html.bat html
87 92 cd ..
88 93
89 94 If you use ISTool, you open the C:\hg\hg-release\contrib\win32\mercurial.iss
@@ -102,7 +107,7 b' following:'
102 107 echo compiler=mingw32 >> setup.cfg
103 108 python setup.py py2exe -b 1
104 109 cd doc
105 mingw32-make ASCIIDOC=asciidoc.bat html
110 mingw32-make RST2HTML=rst2html.bat html
106 111 cd ..
107 112 iscc contrib\win32\mercurial.iss
108 113
General Comments 0
You need to be logged in to leave comments. Login now