14 lines
259 B
Makefile
14 lines
259 B
Makefile
.PHONY: all slides
|
|
.ONESHELL:
|
|
|
|
all: pdf
|
|
|
|
slides:
|
|
for i in *.md; do php Slides/make.php "$$i" > "Slides/$${i##.md}.html"; done;
|
|
|
|
pdf: slides
|
|
cd Slides; for i in *.html; do prince -o "../$${i##.html}.pdf" "$$i"; done;
|
|
|
|
clean:
|
|
rm -f Slides/*.html
|
|
rm -f *.pdf
|