Use python3 in docpreview make target. The SimpleHTTPServer module is called http.server in python3, so if we don't explicitly choose a version it won't work if our python alias isn't the expected version.

This commit is contained in:
A.J. Beamon 2020-01-21 15:08:34 -08:00
parent 535a6fa20d
commit 66f130a722
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ docprereqs:
ln -s . sphinx/.out/html/documentation
docpreview: docprereqs
@( cd sphinx/.out/html && ! grep FIXME * && python -m SimpleHTTPServer $$((0x$$(echo ${USER} | $(MD5SUM) | awk '{print $$1}' | cut -c1-8)%8000+8000)) )
@( cd sphinx/.out/html && ! grep FIXME * && python3 -m http.server $$((0x$$(echo ${USER} | $(MD5SUM) | awk '{print $$1}' | cut -c1-8)%8000+8000)) )
docpreview_clean:
$(MAKE) -C sphinx clean