aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 3 insertions, 1 deletions
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 $< $@