diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile index 6e320e7..39d4b43 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -16,8 +16,7 @@ euro-cash.eu: $(cssfiles) $(templates) $(gofiles) $(sqlfiles) $(GO) build extract: exttmpl - find . -name '*.go' -exec xgettext -Lgo --force-po --from-code=UTF-8 \ - -o po/backend.pot {} + + find . -name '*.go' -exec xgotext -o po/backend.pot {} + find . -name '*.html.tmpl' -exec ./exttmpl {} + \ | msgcat po/backend.pot - -o po/messages.pot for bcp in $(ENABLED_LANGUAGES); \ @@ -27,7 +26,7 @@ extract: exttmpl then \ mkdir -p "$$dir"; \ msginit -i po/messages.pot -o "$$dir/messages.po" -l$$bcp.UTF-8 \ ---no-translator; \ + --no-translator; \ fi; \ msgmerge --update "po/$$bcp/messages.po" po/messages.pot; \ done @@ -58,4 +57,4 @@ clean: -or -name '*.tar.gz' \ \) -delete -.PHONY: clean extract po release
\ No newline at end of file +.PHONY: clean extract po release |