summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRochDLY <roch.delannay@gmail.com>2024-06-28 20:44:37 +0200
committerRochDLY <roch.delannay@gmail.com>2024-06-28 20:44:37 +0200
commit0f796e8d4cdaee7ec9f517e76bdaa4e784e89201 (patch)
tree0b0873c4daf8e45801f9c71e9584593d6945c603 /Makefile
parentbe0c19874d0105a160c038a4f6ec7f35adfb86eb (diff)
downloadpandoc-site-0f796e8d4cdaee7ec9f517e76bdaa4e784e89201.tar.gz
pandoc-site-0f796e8d4cdaee7ec9f517e76bdaa4e784e89201.tar.bz2
pandoc-site-0f796e8d4cdaee7ec9f517e76bdaa4e784e89201.zip
mise à jour du makefile pour mettre à jour tous les templates lorsqu'un partial est modifié
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 75bde66..6109d8f 100644
--- a/Makefile
+++ b/Makefile
@@ -124,3 +124,15 @@ index-partials = \
templates/index.html: $(index-partials)
@ touch $@
+
+templates/index-cache.html: $(index-partials)
+ @ touch $@
+
+pages-partials = \
+ templates/partials/footer.html \
+ templates/partials/head.html \
+ templates/partials/header.html \
+ templates/partials/nav.html
+
+templates/page.html: $(pages-partials)
+ @ touch $@ \ No newline at end of file