diff --git a/.gitignore b/.gitignore
index f9114f4d79293a7f5cff3f1c50c64669b31540c0..75a9d67f773cf0b2e489ed07b764abef6de6d3ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 *.pdf
 .vscode
 *.html
+*.xopp
diff --git a/slides/Makefile b/slides/Makefile
index 904288fe86efb1f09b496056afef160866ffc185..e8b584e456153b18dbd6789a0eef2d5afb831359 100644
--- a/slides/Makefile
+++ b/slides/Makefile
@@ -44,7 +44,7 @@ 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 
 
-index.md:
+index.md: gen_index.sh
 	$(shell ./gen_index.sh)
 
 index.html: index.md
@@ -57,3 +57,4 @@ deploy: all index.html
 
 clean:
 	rm -f *.pdf *.html *.markdown yq_linux_amd64* index.md
+