Files
slide_example/Makefile
2025-09-24 19:17:37 +02:00

22 lines
489 B
Makefile

watch:
./watch_compile.sh $(word 2,$(MAKECMDGOALS))
html:
./scripts/slides_to_html.sh slides.md
pdf:
./scripts/slides_to_pdf.sh slides.md
serve_html:
@echo creating html
./scripts/slides_to_html.sh slides.md
@echo creating links
ln -b -s `pwd`/templates/custom.css `pwd`/html/custom.css
ln -b -s `pwd`/medias `pwd`/html/medias
ln -b -s `pwd`/html/slides.html `pwd`/html/index.html
@echo launching server...
python -m http.server --directory html 7777
clean:
rm -rf html/*