diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | makefile | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -1,2 +1,3 @@ /index.*.html +/index.html /main @@ -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 $< $@ |