summaryrefslogtreecommitdiff
path: root/doc/doc.mk
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-21 09:28:01 +0100
committerxengineering <me@xengineering.eu>2024-02-02 21:06:23 +0100
commit8a6065d53dcbc1f0cedd6925681b43c9c5e0b890 (patch)
tree099e4fce4a6f37e5d5d742fc776f4e20c1279cbb /doc/doc.mk
parent52e93507245fb2c2421f0d324d6af1724ea847a9 (diff)
downloadsoundbox-8a6065d53dcbc1f0cedd6925681b43c9c5e0b890.tar
soundbox-8a6065d53dcbc1f0cedd6925681b43c9c5e0b890.tar.zst
soundbox-8a6065d53dcbc1f0cedd6925681b43c9c5e0b890.zip
doc: Add license text as appendix
The text of each used license is added to the documentation PDF since this might be passed to third parties without the source or build tree. Adding the licenses to the PDF makes sure they are always accessible.
Diffstat (limited to 'doc/doc.mk')
-rw-r--r--doc/doc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/doc.mk b/doc/doc.mk
index 8994824..79fe754 100644
--- a/doc/doc.mk
+++ b/doc/doc.mk
@@ -9,7 +9,7 @@ IMAGES := $(DIAGRAMS:%=$(DIAGRAMS_BUILD_DIR)/%.pdf)
.PHONY: doc
doc: $(DOCUMENTS)
-$(DOC_BUILD_DIR)/%.pdf: doc/%.tex $(IMAGES) $(DATE) $(VERSION_FILE)
+$(DOC_BUILD_DIR)/%.pdf: doc/%.tex $(IMAGES) $(DATE) $(VERSION_FILE) $(LICENSE)
mkdir -p $(dir $@)
pdflatex -halt-on-error -output-directory $(DOC_BUILD_DIR) $<
pdflatex -halt-on-error -output-directory $(DOC_BUILD_DIR) $<