Skip to content

Commit 6eebb39

Browse files
committed
bug(*): pass full path as env var
1 parent c71b596 commit 6eebb39

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33

44
# You can set these variables from the command line.
5-
BUILDDIR = _build
5+
BUILDDIR ?= _build/html
66
MKDOCS = mkdocs
77
MKDOCSBUILDOPTS = --clean --strict --verbose
88
MKDOCSBUILD = $(MKDOCS) build $(MKDOCSBUILDOPTS)
@@ -18,9 +18,9 @@ DEV_ENV_PREFIX := docker run --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_
1818
DEV_ENV_CMD := ${DEV_ENV_PREFIX} ${DEV_ENV_IMAGE}
1919

2020
build:
21-
$(MKDOCSBUILD) --site-dir $(BUILDDIR)/html
21+
$(MKDOCSBUILD) --site-dir $(BUILDDIR)
2222
@echo
23-
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
23+
@echo "Build finished. The HTML pages are in $(BUILDDIR)."
2424

2525
serve:
2626
$(MKDOCSSERVE)

0 commit comments

Comments
 (0)