Files
pyreadline/build-doc.bat
T
2010-07-20 19:12:13 +02:00

15 lines
346 B
Batchfile

SET VERSION=1.7
python setup.py build_sphinx
python setup.py build_sphinx -b latex
pushd build\sphinx\latex
pdflatex pyreadline.tex
pdflatex pyreadline.tex
pdflatex pyreadline.tex
popd
mkdir dist
copy build\sphinx\latex\pyreadline.pdf dist\pyreadline-%VERSION%.pdf
xcopy /S /I build\sphinx\html dist\pyreadline-htmldoc-%VERSION%