diff --git a/source/references.rst b/source/references.rst index a706a32..65d8ece 100644 --- a/source/references.rst +++ b/source/references.rst @@ -232,8 +232,9 @@ Add the following code to the project ``Makefile``: LINKCHECKDIR = build/linkcheck .PHONY: checklinks - checklinks: - $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(LINKCHECKDIR) + + checklinks: + $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) "$(SOURCEDIR)" "$(LINKCHECKDIR)" @echo @echo "Check finished. Report is in $(LINKCHECKDIR)."