aboutsummaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorPaul Sokolovsky2016-04-27 01:50:05 +0300
committerPaul Sokolovsky2016-04-27 01:50:05 +0300
commitf3f5e975e47f1e7e3d0c9a46ee17f36204f15daf (patch)
treec496ec8174473b1fbedf314496bff2c42f597d9c /docs/Makefile
parent0df2ee01264ff09bd525e7020724459c815470f8 (diff)
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.
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 7da33e9a3..9756fab28 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -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)