summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 $< $@