aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-06-29 13:07:47 +0200
committerDaniel Schadt <kingdread@gmx.de>2022-06-29 13:07:56 +0200
commit5b7c6d3abb7d632a7b446271201a9eff9106e940 (patch)
tree92913caa17e18d44e81868af677e16d9f087c6af /Makefile
parentedd344cd9af5d4c0ca1ccd491bca004956264708 (diff)
downloadfietsboek-5b7c6d3abb7d632a7b446271201a9eff9106e940.tar.gz
fietsboek-5b7c6d3abb7d632a7b446271201a9eff9106e940.tar.bz2
fietsboek-5b7c6d3abb7d632a7b446271201a9eff9106e940.zip
add babel-init command to makefile
This is useful to easily create new locales from scratch.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8e63be7..1fe2185 100644
--- a/Makefile
+++ b/Makefile
@@ -10,4 +10,7 @@ babel-update:
babel-compile:
$(PYBABEL) compile -d fietsboek/locale -l $(LOCALE) -i fietsboek/locale/$(LOCALE)/LC_MESSAGES/messages.po
+babel-init:
+ $(PYBABEL) init -d fietsboek/locale -l $(LOCALE) -i fietsboek/locale/fietslog.pot
+
.PHONY: babel-extract babel-update babel-compile