Skip to content

Commit e0736ba

Browse files
committed
Adjust Makefiles
1 parent f75f491 commit e0736ba

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ setup-virtualenv:
2525
@test -e $(python) || python3 -mvenv $(venv)
2626

2727
virtualenv-docs: setup-virtualenv
28-
@$(pip) --quiet install --requirement requirements-docs.txt
28+
@$(pip) --quiet install --requirement=requirements-docs.txt
2929

3030
virtualenv-dev: setup-virtualenv
31-
@$(pip) install --upgrade --requirement requirements-dev.txt
32-
@$(pip) install --upgrade --requirement requirements-test.txt
33-
@$(pip) install --upgrade -e.[daq,daq_geospatial,export,scientific,firmware]
31+
@$(pip) install --upgrade --requirement=requirements-dev.txt
32+
@$(pip) install --upgrade --requirement=requirements-test.txt
33+
@$(pip) install --upgrade --editable=.[daq,daq_geospatial,export,scientific,firmware]
3434

3535

3636
# =======
@@ -247,7 +247,7 @@ test-coverage: virtualenv-dev
247247

248248
docs-html: virtualenv-docs
249249
touch doc/source/index.rst
250-
export SPHINXBUILD="`pwd`/$(sphinx)"; cd doc; make html
250+
SPHINXBUILD="`pwd`/$(sphinx)" SPHINXOPTS="-j auto" make --directory=doc html
251251

252252

253253
# ==========================================

doc/Makefile

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

44
# You can set these variables from the command line.
5-
SPHINXOPTS =
6-
#SPHINXBUILD = sphinx-build
7-
PAPER =
8-
BUILDDIR = build
5+
SPHINXOPTS ?=
6+
SPHINXBUILD ?= sphinx-build
7+
PAPER ?=
8+
BUILDDIR ?= build
99

1010
# User-friendly check for sphinx-build
1111
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)

0 commit comments

Comments
 (0)