aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-10-12 02:05:04 +0200
committermetamuffin <metamuffin@disroot.org>2024-10-12 02:05:04 +0200
commit21a438f66bfcd1d6c6ad1f7ee8a6727e3b81f466 (patch)
tree79d361b14eb1eb98afd00bd6806c38a263b60734
parent1236758ec8267ef9f561dc44acbc5559967f5d1e (diff)
downloadhurrycurry-website-21a438f66bfcd1d6c6ad1f7ee8a6727e3b81f466.tar
hurrycurry-website-21a438f66bfcd1d6c6ad1f7ee8a6727e3b81f466.tar.bz2
hurrycurry-website-21a438f66bfcd1d6c6ad1f7ee8a6727e3b81f466.tar.zst
index.html
-rw-r--r--.gitignore1
-rw-r--r--makefile4
2 files changed, 4 insertions, 1 deletions
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 $< $@