reform-debian-funding/Makefile

11 lines
434 B
Makefile
Raw Permalink Normal View History

2024-07-28 20:55:29 +00:00
all: document_min.pdf document.html
document.html: document.Rmd
R -e "rmarkdown::render('document.Rmd', output_format='bookdown::tufte_html2')"
document.pdf: document.Rmd
R -e "rmarkdown::render('document.Rmd', output_format='tufte::tufte_handout')"
document_min.pdf: document.pdf
ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=document_min.pdf document.pdf