summaryrefslogtreecommitdiff
path: root/repo/www/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'repo/www/Makefile')
-rw-r--r--repo/www/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/repo/www/Makefile b/repo/www/Makefile
index fc25ddb..7ba566c 100644
--- a/repo/www/Makefile
+++ b/repo/www/Makefile
@@ -15,7 +15,7 @@ all: site
dependencies = deps.mk
include $(dependencies)
-$(dependencies): make-deps.py $(text_folders)
+$(dependencies): generate-deps.py $(text_folders)
python3 $< "$(TEXT_FILES)" $(OUT_DIR)
site: $(pages) $(indices) $(autoindices)
@@ -28,8 +28,10 @@ $(pages) $(indices):
# ⚠ When tweaking this rule, check whether it still works for the
# top-level index.html, i.e. when there is no top-level README.
-$(autoindices): $(OUT_DIR)%/index.html: $(TOP_DIR)% make-index.py | $(OUT_DIR)%
- python3 make-index.py "$(TEXT_FILES)" "$(*:/%=%)" > $@
+$(autoindices): \
+$(OUT_DIR)%/index.html: $(TOP_DIR)% generate-index.py | $(OUT_DIR)%
+ python3 generate-index.py "$(TEXT_FILES)" "$(*:/%=%)" | \
+ pandoc -s > $@
clean:
-rm $(dependencies)