first working full version
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user