diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index 65e29713d4..bade78fe88 100644 --- a/documentation/Makefile +++ b/documentation/Makefile | |||
@@ -24,9 +24,9 @@ endif | |||
24 | help: | 24 | help: |
25 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | 25 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
26 | 26 | ||
27 | .PHONY: all help Makefile clean stylecheck publish epub latexpdf | 27 | .PHONY: all checks help Makefile clean stylecheck publish epub latexpdf |
28 | 28 | ||
29 | publish: Makefile epub latexpdf html singlehtml | 29 | publish: Makefile checks epub latexpdf html singlehtml |
30 | rm -rf $(BUILDDIR)/$(DESTDIR)/ | 30 | rm -rf $(BUILDDIR)/$(DESTDIR)/ |
31 | mkdir -p $(BUILDDIR)/$(DESTDIR)/ | 31 | mkdir -p $(BUILDDIR)/$(DESTDIR)/ |
32 | cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/ | 32 | cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/ |
@@ -52,6 +52,9 @@ PNGs := $(foreach dir, $(IMAGEDIRS), $(patsubst %.svg,%.png,$(wildcard $(SOURCED | |||
52 | clean: | 52 | clean: |
53 | @rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js releases.rst | 53 | @rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js releases.rst |
54 | 54 | ||
55 | checks: | ||
56 | $(SOURCEDIR)/tools/check-glossaries --docs-dir $(SOURCEDIR) | ||
57 | |||
55 | stylecheck: | 58 | stylecheck: |
56 | vale sync | 59 | vale sync |
57 | vale $(VALEOPTS) $(VALEDOCS) | 60 | vale $(VALEOPTS) $(VALEDOCS) |