diff options
author | xengineering <me@xengineering.eu> | 2024-01-04 22:05:39 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-01-05 10:52:04 +0100 |
commit | ce83411b44ffce77e57fb1b834c6008f4222a3fe (patch) | |
tree | a6fe6814e038ed9e6a1f1a3f4898aa9cc29f5a63 /doc/doc.mk | |
parent | 15285f111eae401663a459344e99e4e351ea3207 (diff) | |
download | soundbox-ce83411b44ffce77e57fb1b834c6008f4222a3fe.tar soundbox-ce83411b44ffce77e57fb1b834c6008f4222a3fe.tar.zst soundbox-ce83411b44ffce77e57fb1b834c6008f4222a3fe.zip |
doc: Write section 'Versioning'
This section is important to communicate how to interpret version
numbers in the context of this device repository.
Diffstat (limited to 'doc/doc.mk')
-rw-r--r-- | doc/doc.mk | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,11 +1,19 @@ DOC_BUILD_DIR := $(BUILD_DIR)/doc DOCS := documentation -PDF := $(DOCS:%=$(DOC_BUILD_DIR)/%.pdf) +DOCUMENTS := $(DOCS:%=$(DOC_BUILD_DIR)/%.pdf) + +DIAGRAMS_BUILD_DIR := $(DOC_BUILD_DIR)/diagrams +DIAGRAMS := device-semver +IMAGES := $(DIAGRAMS:%=$(DIAGRAMS_BUILD_DIR)/%.pdf) .PHONY: doc -doc: $(PDF) +doc: $(DOCUMENTS) -$(BUILD_DIR)/%.pdf: %.tex +$(DOC_BUILD_DIR)/%.pdf: doc/%.tex $(IMAGES) mkdir -p $(dir $@) pdflatex -halt-on-error -output-directory $(DOC_BUILD_DIR) $< pdflatex -halt-on-error -output-directory $(DOC_BUILD_DIR) $< + +$(DIAGRAMS_BUILD_DIR)/%.pdf: doc/diagrams/%.svg + mkdir -p $(dir $@) + inkscape -o $@ $< |