summaryrefslogtreecommitdiff
path: root/index_pages.mk
diff options
context:
space:
mode:
Diffstat (limited to 'index_pages.mk')
-rw-r--r--index_pages.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/index_pages.mk b/index_pages.mk
new file mode 100644
index 0000000..e8e0c54
--- /dev/null
+++ b/index_pages.mk
@@ -0,0 +1,5 @@
+POSTS = $(filter-out content/posts/index.md, $(wildcard content/posts/*.md))
+GENERATEDMD = content/posts/index.md
+
+content/posts/index.md: $(POSTS)
+ scripts/generate_post_index > $@