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, 3 insertions, 5 deletions
diff --git a/repo/www/Makefile b/repo/www/Makefile
index d748735..9640fc4 100644
--- a/repo/www/Makefile
+++ b/repo/www/Makefile
@@ -51,11 +51,9 @@ $(pages) $(subindices): $(title)
$(pages) $(indices): $(html_template)
$(pages): $(OUT_DIR)/%.html:
- $(call v,PAGE,$*) TEXT_FILES="$(TEXT_FILES)" \
- pandoc -s $< -o $@ \
- -T "$$(cat $(title))" -M title="$*" \
- --template $(html_template) \
- --lua-filter convert-internal-links.lua
+ $(call v,PAGE,$*) TEXT_FILES="$(TEXT_FILES)" \
+ ./generate-page.py --site-title="$$(cat $(title))" --title="$*" \
+ $< $@
top_index = $(OUT_DIR)/index.html
subindices = $(filter-out $(top_index),$(indices))