Skip to content

Commit 403677c

Browse files
committed
Improve Makefile
1 parent 0b975db commit 403677c

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
@@ -25,11 +25,11 @@ lint:
2525
$(PYTHON) -m flake8 --doctests $(PYROOTDIR)
2626

2727
type:
28-
$(PYTHON) -m pip install --quiet --force-reinstall $(WHEEL_OUTDIR)/softfloatpy-*.whl
28+
$(PYTHON) -m pip install --quiet --force-reinstall --no-index --find-links=$(WHEEL_OUTDIR) softfloatpy
2929
$(PYTHON) -m mypy --strict $(PYROOTDIR)
3030

3131
test:
32-
$(PYTHON) -m pip install --quiet --force-reinstall $(WHEEL_OUTDIR)/softfloatpy-*.whl
32+
$(PYTHON) -m pip install --quiet --force-reinstall --no-index --find-links=$(WHEEL_OUTDIR) softfloatpy
3333
$(PYTHON) -m pytest $(PYROOTDIR)/tests -vv --doctest-modules
3434

3535
dist:
@@ -39,7 +39,7 @@ ifneq ($(strip $(AUDITWHEEL)),)
3939
endif
4040

4141
doc:
42-
$(PYTHON) -m pip install --quiet --force-reinstall $(WHEEL_OUTDIR)/softfloatpy-*.whl
42+
$(PYTHON) -m pip install --quiet --force-reinstall --no-index --find-links=$(WHEEL_OUTDIR) softfloatpy
4343
$(SPHINX_APIDOC) -T -f -o $(PYDOCSRCDIR)/apidoc $(PYROOTDIR)/src
4444
$(SPHINX_BUILD) -b html $(PYDOCSRCDIR) $(PYDOCOUTDIR)/html
4545

0 commit comments

Comments
 (0)