Skip to contentSkip to conversation

doc/Makefile: fix epub and latexpdf targets

PATCH New [email protected] 1 participant 1 message May 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc/Makefile: fix epub and latexpdf targets

From: Michael Opdenacker <[email protected]>

Fixing "make clean" followed by "make epub" or "make latexpdf"

---
 documentation/Makefile | 2 ++
 1 file changed, 2 insertions(+)
documentation/Makefile +2 -0
index 33bbca0bab..9fb6814c8f 100644
@@ -47,9 +47,11 @@ clean:
 	@rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js
 
 epub: $(PNGs)
+	$(SOURCEDIR)/set_versions.py
 	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
 
 latexpdf: $(PDFs)
+	$(SOURCEDIR)/set_versions.py
 	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
 
 all: html epub latexpdf
Signature · 1 line
2.25.1