This repository has been archived on 2024-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
cs763/website/docs/resources/slides/Makefile

16 lines
334 B
Makefile

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