Skip to content

Instantly share code, notes, and snippets.

@trinker
Forked from pdparker/knitr
Last active August 29, 2015 14:15
Show Gist options
  • Save trinker/f0dc98a58a2a215a8fc3 to your computer and use it in GitHub Desktop.
Save trinker/f0dc98a58a2a215a8fc3 to your computer and use it in GitHub Desktop.
# Makefile to use knitr for presentations
SLIDES := Day1Part1-Introduction.html Day1Part1-session2.html Day1Part1-session3.html Day1Part2-session1.Rmd
all: $(SLIDES)
clean:
rm -rf *.md mplus.*
%.html: %.Rmd
/usr/bin/Rscript -e "knitr::knit2html('$*.Rmd')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment