From 66f130a722c99a6bb35dedc9a714d3bd3c149186 Mon Sep 17 00:00:00 2001 From: "A.J. Beamon" Date: Tue, 21 Jan 2020 15:08:34 -0800 Subject: [PATCH] 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. --- documentation/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/Makefile b/documentation/Makefile index 256b2b7bd5..7d2f0cf0b0 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -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