aboutsummaryrefslogtreecommitdiffhomepage
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index d42cc0b..2278112 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -12,8 +12,12 @@ euro-cash.eu: $(cssfiles) $(templates) $(gofiles) $(sqlfiles)
go build
all-i18n: exttmpl
- go generate ./src
- find . -name out.gotext.json | mcp -b sed s/out/messages/
+ find . -name '*.html.tmpl' -exec ./exttmpl -out po/templates.pot {} +
+ for bcp in en en-US nl; \
+ do \
+ mkdir -p "po/$$bcp"; \
+ msgmerge --update "po/$$bcp/messages.po" po/templates.pot; \
+ done
go build
exttmpl: $(exttmpl)