summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 120610c..5c8a151 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,17 @@ serve:
# Pandoc conversions
# HTML
-html: $(STATIC_DOCS) docs/index.html $(POSTS_DOCS) $(PAGES_DOCS)
+html: $(STATIC_DOCS) docs/index.html docs/index-cache.html $(POSTS_DOCS) $(PAGES_DOCS)
+
+docs/index-cache.html: src/index-cache.md templates/index-cache.html $(metadata_site)
+ @ echo "Production de l'index caché."
+ @ pandoc \
+ $< \
+ $(PANDOCFLAGS) \
+ --template templates/index-cache.html \
+ --output $@
+ @ echo "L'index caché est construit."
+
docs/index.html: src/index.md templates/index.html $(metadata_site)
@ echo "Production de l'index."