From 689e93cb93c7afb89c32079b1f134b8224383c62 Mon Sep 17 00:00:00 2001 From: jsz4n Date: Wed, 24 Sep 2025 19:05:01 +0200 Subject: [PATCH] add first makefile --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7aa6b75 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +watch: + ./watch_compile.sh + +html: + ./scripts/slides_to_html.sh slides.md + +pdf: + ./scripts/slides_to_pdf.sh slides.md + +serve_html: html + 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 + python -m http.server --directory html 7777 + +clean: + rm -rf html/*