summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-10-12 13:11:38 +0200
committermetamuffin <metamuffin@disroot.org>2024-10-12 13:11:38 +0200
commitae9ed982f7a69eadb40b424b73e7ba49e590cd11 (patch)
tree9c0e777fa438413a68f504d556e89c645e3453a9 /makefile
parent21a438f66bfcd1d6c6ad1f7ee8a6727e3b81f466 (diff)
downloadhurrycurry-website-ae9ed982f7a69eadb40b424b73e7ba49e590cd11.tar
hurrycurry-website-ae9ed982f7a69eadb40b424b73e7ba49e590cd11.tar.bz2
hurrycurry-website-ae9ed982f7a69eadb40b424b73e7ba49e590cd11.tar.zst
use locales from dist-extra
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 2fcf616..adbb9bc 100644
--- a/makefile
+++ b/makefile
@@ -3,7 +3,7 @@
noop =
space = $(noop) $(noop)
comma = ,
-langs = $(patsubst main/locale/%.ini,%,$(wildcard main/locale/*.ini))
+langs = $(patsubst dist-extra/locale/%.ini,%,$(wildcard dist-extra/locale/*.ini))
s_langs = $(subst $(space),$(comma),$(langs))
out = $(shell echo index.{$(s_langs)}.html) index.html
@@ -13,7 +13,7 @@ all: $(out)
clean:
rm -f $(out)
-index.%.html: main/locale/%.ini main/locale/en.ini
+index.%.html: dist-extra/locale/%.ini dist-extra/locale/en.ini
python translate.py $(*)
index.html: index.en.html
cp $< $@