mirror of
https://codeberg.org/openpgp/notes.git
synced 2024-11-26 17:42:06 +01:00
Add make target to check a cleanly built EPUB using epubcheck
Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
parent
d7d34d4940
commit
8f1d939ddb
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
# You can set these variables from the command line, and also
|
# You can set these variables from the command line, and also
|
||||||
# from the environment for the first two.
|
# from the environment for the first two.
|
||||||
CODESPELL ?= codespell
|
CODESPELL ?= codespell
|
||||||
|
EPUBCHECK ?= epubcheck
|
||||||
SPHINXOPTS ?= -W
|
SPHINXOPTS ?= -W
|
||||||
SPHINXBUILD ?= sphinx-build
|
SPHINXBUILD ?= sphinx-build
|
||||||
LYCHEE ?= lychee
|
LYCHEE ?= lychee
|
||||||
|
@ -14,6 +15,9 @@ PRINTF ?= printf
|
||||||
SOURCEDIR = source
|
SOURCEDIR = source
|
||||||
BUILDDIR = build
|
BUILDDIR = build
|
||||||
|
|
||||||
|
epub-check: clean epub
|
||||||
|
@$(EPUBCHECK) "$(BUILDDIR)/epub/"*.epub
|
||||||
|
|
||||||
# Put it first so that "make" without argument is like "make help".
|
# Put it first so that "make" without argument is like "make help".
|
||||||
help:
|
help:
|
||||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
|
|
Loading…
Reference in a new issue