From d7d98af0080241600bf0198f5c0942c96f3d2f95 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 24 Mar 2020 22:32:55 +0100 Subject: Distinguish indices from regular pages So that I can add a special recipe for them, where I'll concatenate the directory index. --- repo/www/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repo/www/Makefile') diff --git a/repo/www/Makefile b/repo/www/Makefile index e7d5184..38a28d2 100644 --- a/repo/www/Makefile +++ b/repo/www/Makefile @@ -18,12 +18,12 @@ include $(dependencies) $(dependencies): make-deps.py $(text_folders) python3 $< "$(TEXT_FILES)" $(OUT_DIR) -site: $(pages) $(autoindices) +site: $(pages) $(indices) $(autoindices) $(page_folders): mkdir -p $@ -$(pages): +$(pages) $(indices): pandoc -s $< -o $@ # ⚠ When tweaking this rule, check whether it still works for the -- cgit v1.2.3