diff --git a/Makefile.sp b/Makefile.sp index 3d360371..c7325de2 100644 --- a/Makefile.sp +++ b/Makefile.sp @@ -91,7 +91,8 @@ sp-spellcheck: sp-spelling: sp-html sp-spellcheck sp-linkcheck: sp-install - . $(VENV) ; $(SPHINXBUILD) -b linkcheck "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) + . $(VENV) ; $(SPHINXBUILD) -b linkcheck "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) || (grep --color -F "[broken]" "$(BUILDDIR)/output.txt"; exit 1) + exit 0 sp-woke: sp-woke-install woke $(ALLFILES) --exit-1-on-failure \