Skip to content

Commit c3d1056

Browse files
Merge pull request #1539 from nextstrain/victorlin/builddir-env-var
2 parents 09d6e7e + d0956ae commit c3d1056

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
#
33

44
# You can set these variables from the command line, and also
5-
# from the environment for the first two.
5+
# from the environment for the first three.
66
SPHINXOPTS ?=
77
SPHINXBUILD ?= sphinx-build
8+
BUILDDIR ?= build
89
SOURCEDIR = .
9-
BUILDDIR = build
1010

1111
# Put it first so that "make" without argument is like "make help".
1212
help:

docs/make.bat

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ REM Command file for Sphinx documentation
77
if "%SPHINXBUILD%" == "" (
88
set SPHINXBUILD=sphinx-build
99
)
10+
if "%BUILDDIR%" == "" (
11+
set BUILDDIR=build
12+
)
1013
set SOURCEDIR=.
11-
set BUILDDIR=build
1214

1315
if "%1" == "" goto help
1416

0 commit comments

Comments
 (0)