first working full version

This commit is contained in:
2025-12-13 17:52:35 +01:00
parent 9b80d36466
commit 8c412f0454
6 changed files with 193 additions and 50 deletions
+8 -1
View File
@@ -1,5 +1,11 @@
QUARTO ?= quarto
# Allow overriding the list of docx outputs via env var `docx`.
# Example: `make docx docx="index Supplements"` or `make docx docx=index`.
DOCX ?= index Supplements
DOCX := $(if $(docx),$(docx),$(DOCX))
DOCX_DOCS := $(addsuffix .docx,$(DOCX))
.PHONY: all pdf docx clean
# Build both formats for both documents
@@ -7,7 +13,8 @@ all: pdf docx
# Aggregate targets
pdf: index.pdf Supplements.pdf
docx: index.docx Supplements.docx
docx: $(DOCX_DOCS)
docx-main: index.docx
# Pattern rules for either format
%.pdf: %.qmd