New Makefile handling

This commit is contained in:
Raphael Michel 2018-03-06 16:37:17 +01:00
parent 420ce98a1b
commit 9530e68a71

View file

@ -1,8 +1,9 @@
all: localecompile
LNGS:=`find pretix_servicefees/locale/ -mindepth 1 -maxdepth 1 -type d -printf "-l %f "`
localecompile:
django-admin compilemessages
localegen:
django-admin makemessages --keep-pot -a -i build -i dist -i "*egg*" --settings pretix.settings
django-admin makemessages --keep-pot -i build -i dist -i "*egg*" $(LNGS)