formations/cesi/nosql/Makefile

14 lines
259 B
Makefile
Raw Normal View History

2019-09-22 22:14:24 +02:00
.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