Show More
@@ -33,8 +33,8 b' It has the following prerequisites, at l' | |||||
33 | add_path (you need only add_path.exe in the zip file) |
|
33 | add_path (you need only add_path.exe in the zip file) | |
34 | http://www.barisione.org/apps.html#add_path |
|
34 | http://www.barisione.org/apps.html#add_path | |
35 |
|
35 | |||
36 | Asciidoc - optional |
|
36 | Docutils | |
37 | http://www.methods.co.nz/asciidoc/ |
|
37 | http://docutils.sourceforge.net/ | |
38 |
|
38 | |||
39 | And, of course, Mercurial itself. |
|
39 | And, of course, Mercurial itself. | |
40 |
|
40 | |||
@@ -79,11 +79,16 b' following files:' | |||||
79 | Microsoft.VC90.MFC.manifest) |
|
79 | Microsoft.VC90.MFC.manifest) | |
80 |
|
80 | |||
81 | Before building the installer, you have to build Mercurial HTML documentation |
|
81 | Before building the installer, you have to build Mercurial HTML documentation | |
82 |
(or fix mercurial.iss to not reference the doc directory). |
|
82 | (or fix mercurial.iss to not reference the doc directory). Docutils does not | |
83 | "asciidoc.bat" batch file somewhere in your PATH: |
|
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 | cd doc |
|
90 | cd doc | |
86 |
mingw32-make |
|
91 | mingw32-make RST2HTML=rst2html.bat html | |
87 | cd .. |
|
92 | cd .. | |
88 |
|
93 | |||
89 | If you use ISTool, you open the C:\hg\hg-release\contrib\win32\mercurial.iss |
|
94 | If you use ISTool, you open the C:\hg\hg-release\contrib\win32\mercurial.iss | |
@@ -102,7 +107,7 b' following:' | |||||
102 | echo compiler=mingw32 >> setup.cfg |
|
107 | echo compiler=mingw32 >> setup.cfg | |
103 | python setup.py py2exe -b 1 |
|
108 | python setup.py py2exe -b 1 | |
104 | cd doc |
|
109 | cd doc | |
105 |
mingw32-make |
|
110 | mingw32-make RST2HTML=rst2html.bat html | |
106 | cd .. |
|
111 | cd .. | |
107 | iscc contrib\win32\mercurial.iss |
|
112 | iscc contrib\win32\mercurial.iss | |
108 |
|
113 |
General Comments 0
You need to be logged in to leave comments.
Login now