Files
MiningTransparencyManuscript/Makefile
T

22 lines
330 B
Makefile

QUARTO = quarto
QMD = index.qmd
all: pdf docx
# PDF
pdf: OUTPUT_FORMAT = pdf/tex
pdf: index.pdf
index.pdf: $(QMD)
OUTPUT_FORMAT="$(OUTPUT_FORMAT)" $(QUARTO) render $(QMD) --to pdf
# DOCX
docx: OUTPUT_FORMAT = docx
docx: index.docx
index.docx: $(QMD)
OUTPUT_FORMAT="$(OUTPUT_FORMAT)" $(QUARTO) render $(QMD) --to docx