Makefile for slides.
This commit is contained in:
parent
32d516086d
commit
1fa757c9c4
|
@ -0,0 +1,15 @@
|
|||
THEME=solarized
|
||||
REVEALJS-ROOT=../../assets/custom-js/reveal.js/
|
||||
KATEX-ROOT=../../assets/custom-js/katex/
|
||||
SRC=$(wildcard *.md)
|
||||
OUT=$(patsubst %.md,%.html,$(SRC))
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all: $(OUT)
|
||||
|
||||
%.html: %.md
|
||||
pandoc -t revealjs -s $< -o $@ -V revealjs-url=$(REVEALJS-ROOT) -V theme=$(THEME) --katex=$(KATEX-ROOT)
|
||||
|
||||
clean:
|
||||
rm -f *.html
|
Reference in New Issue