Skip to content
Snippets Groups Projects
Commit f3f5e975 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

docs/Makefile: Default BUILDDIR based on MICROPY_PORT.

It doesn't make sense to duplicate both on command line, and MICROPY_PORT
is effectively mandatory to build docs.
parent 0df2ee01
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = build
BUILDDIR = build/$(MICROPY_PORT)
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
......
......@@ -21,7 +21,7 @@ preferably in a virtualenv:
In `micropython/docs`, build the docs:
make MICROPY_PORT=<port_name> BUILDDIR=build/<port_name> html
make MICROPY_PORT=<port_name> html
Where `<port_name>` can be `unix`, `pyboard`, `wipy` or `esp8266`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment