summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-02-29 18:21:29 (GMT)
committerGeorg Brandl <georg@python.org>2008-02-29 18:21:29 (GMT)
commit3fd0c442dc0208225f6d7249e45fbec9721bc1e5 (patch)
tree0cc46ab95c2d4461ca933850a215fa56cbc46eca /Doc
parent8b6552deb3cc2700b8082165b85f486e4456618e (diff)
downloadcpython-3fd0c442dc0208225f6d7249e45fbec9721bc1e5.zip
cpython-3fd0c442dc0208225f6d7249e45fbec9721bc1e5.tar.gz
cpython-3fd0c442dc0208225f6d7249e45fbec9721bc1e5.tar.bz2
#2208: allow for non-standard HHC location.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/make.bat7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/make.bat b/Doc/make.bat
index a26851f..504e4b5 100644
--- a/Doc/make.bat
+++ b/Doc/make.bat
@@ -1,8 +1,9 @@
-@echo off
+@@echo off
setlocal
set SVNROOT=http://svn.python.org/projects
-if "%PYTHON%" EQU "" set PYTHON=python25
+if "%PYTHON%" EQU "" set PYTHON=..\pcbuild\python
+if "%HTMLHELP%" EQU "" set HTMLHELP=%ProgramFiles%\HTML Help Workshop\hhc.exe
if "%1" EQU "" goto help
if "%1" EQU "html" goto build
@@ -41,7 +42,7 @@ if not exist build mkdir build
if not exist build\%1 mkdir build\%1
if not exist build\doctrees mkdir build\doctrees
cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%1
-if "%1" EQU "htmlhelp" "%ProgramFiles%\HTML Help Workshop\hhc.exe" build\htmlhelp\pydoc.hhp
+if "%1" EQU "htmlhelp" "%HTMLHELP%" build\htmlhelp\pydoc.hhp
goto end
:webrun