From 00aed6172a199d51d9a68a679a0eccadbc4a48a0 Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@pm.me>
Date: Tue, 20 Sep 2022 12:11:24 +0200
Subject: [PATCH] added index

---
 slides/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/slides/Makefile b/slides/Makefile
index 90e1b51..ff1cfdf 100644
--- a/slides/Makefile
+++ b/slides/Makefile
@@ -44,7 +44,13 @@ yq: # On peut même télécharger un petit programme avec notre makefile
 	wget -nc https://github.com/mikefarah/yq/releases/download/3.4.1/yq_linux_amd64
 	chmod "u+x" yq_linux_amd64 
 
-deploy: all 
+index.md:
+	./gen_index.sh
+
+index.html: index.md
+	pandoc -s $(OPTIONS) -o $@ $^
+
+deploy: all index.html
 	mkdir -p prog_seq_c_cours
 	cp *.pdf prog_seq_c_cours
 	cp *.html prog_seq_c_cours
-- 
GitLab