From 21a438f66bfcd1d6c6ad1f7ee8a6727e3b81f466 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 12 Oct 2024 02:05:04 +0200 Subject: index.html --- .gitignore | 1 + makefile | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index bd2a9e8..32b8056 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /index.*.html +/index.html /main diff --git a/makefile b/makefile index 0551493..2fcf616 100644 --- a/makefile +++ b/makefile @@ -6,7 +6,7 @@ comma = , langs = $(patsubst main/locale/%.ini,%,$(wildcard main/locale/*.ini)) s_langs = $(subst $(space),$(comma),$(langs)) -out = $(shell echo index.{$(s_langs)}.html) +out = $(shell echo index.{$(s_langs)}.html) index.html .PHONY: all out all: $(out) @@ -15,3 +15,5 @@ clean: index.%.html: main/locale/%.ini main/locale/en.ini python translate.py $(*) +index.html: index.en.html + cp $< $@ -- cgit v1.2.3-70-g09d2