Skip to content

Commit

Permalink
Add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
robjhyndman committed Jan 10, 2024
1 parent 0a7d430 commit d01910a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
SLIDES := $(wildcard slides/*.qmd)
SLIDE_PDFS := $(SLIDES:.qmd=.pdf)

default: slides preview

preview:
quarto preview

build:
quarto render

slides: $(SLIDE_PDFS)

slides/%.pdf: slides/%.qmd
@echo "$< -> $@"
quarto render '$<'

clean:
rm -rf _site
rm -rf _freeze
rm -rf slides/*_cache
rm -rf slides/*_files

0 comments on commit d01910a

Please sign in to comment.