Abzac / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Fix docs build on windows #156

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Report from Bryan Jones via maillist on 2010/10/12:

Docs build fails with Windows Python, since make executes something like 
"/cygdrive/c/Python26/Scripts/rst2html.py" rather than just passing rst2html.py 
to the command interpreter. Not sure how to nicely fix this so that it works on 
all platforms

Original issue reported on code.google.com by dwhall...@gmail.com on 13 Oct 2010 at 4:12

GoogleCodeExporter commented 9 years ago
Changing the second line of the Makefile to:

RST2HTML := $(shell cygpath -m $(shell which rst2html.py))

makes Windows work, but (of course) breaks everyone else. Need some "if Windows 
python" expression (fun).

Original comment by bjones460@gmail.com on 20 Oct 2010 at 2:55