diff options
author | RochDLY <roch.delannay@gmail.com> | 2024-01-12 18:01:04 +0100 |
---|---|---|
committer | RochDLY <roch.delannay@gmail.com> | 2024-01-12 18:01:04 +0100 |
commit | e731ffdb377e67723c672f9d8b895a3ca77b1a2b (patch) | |
tree | 2caad133e71edf1cddd78994fbbcd82a39198059 | |
parent | 03381d5cadffb92155cf7fa14d45140d1881955a (diff) | |
download | pandoc-site-e731ffdb377e67723c672f9d8b895a3ca77b1a2b.tar.gz pandoc-site-e731ffdb377e67723c672f9d8b895a3ca77b1a2b.tar.bz2 pandoc-site-e731ffdb377e67723c672f9d8b895a3ca77b1a2b.zip |
ajout de la production d'une page index-c dans le makefile
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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." |