From 355b77c1fff8132cd3445c375140cf51e736d8a0 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 24 Mar 2020 23:07:17 +0100 Subject: Produce auto-generated indices on stdout This way I can concatenate the output with regular indices. --- repo/www/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repo/www/Makefile') diff --git a/repo/www/Makefile b/repo/www/Makefile index 38a28d2..fc25ddb 100644 --- a/repo/www/Makefile +++ b/repo/www/Makefile @@ -29,7 +29,7 @@ $(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)" "$(*:/%=%)" $(OUT_DIR) + python3 make-index.py "$(TEXT_FILES)" "$(*:/%=%)" > $@ clean: -rm $(dependencies) -- cgit v1.2.3