makefile: use Python 3 by default when building docs as well
I copied the snippet defining `PYTHON` from the root Makefile.
Differential Revision: https://phab.mercurial-scm.org/D10251
from __future__ import absolute_import, print_functionimport sysfor line in sys.stdin: if line.lower() in ("message-id: \n", "in-reply-to: \n"): line = line[:-2] print(line, end="")