diff --git a/documentation/Makefile b/documentation/Makefile index 65e29713d4..bade78fe88 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -24,9 +24,9 @@ endif help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) -.PHONY: all help Makefile clean stylecheck publish epub latexpdf +.PHONY: all checks help Makefile clean stylecheck publish epub latexpdf -publish: Makefile epub latexpdf html singlehtml +publish: Makefile checks epub latexpdf html singlehtml rm -rf $(BUILDDIR)/$(DESTDIR)/ mkdir -p $(BUILDDIR)/$(DESTDIR)/ cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/ @@ -52,6 +52,9 @@ PNGs := $(foreach dir, $(IMAGEDIRS), $(patsubst %.svg,%.png,$(wildcard $(SOURCED clean: @rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js releases.rst +checks: + $(SOURCEDIR)/tools/check-glossaries --docs-dir $(SOURCEDIR) + stylecheck: vale sync vale $(VALEOPTS) $(VALEDOCS)