When link checking, always build HTML from scratch

To be on the safe side, always build HTML pages from scratch, so that
lychee checks the actual current version of the files.

Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
David Runge 2023-11-02 16:07:35 +01:00
parent c9e7b03f53
commit e13127e064
No known key found for this signature in database
GPG key ID: 90D4B9641E092971

View file

@ -16,7 +16,7 @@ BUILDDIR = build
help: help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
html-linkcheck: html html-linkcheck: clean html
@$(LYCHEE) "$(BUILDDIR)/html/"*.html @$(LYCHEE) "$(BUILDDIR)/html/"*.html
.PHONY: help Makefile .PHONY: help Makefile