New Makefile handling

master
Raphael Michel 5 years ago
parent 420ce98a1b
commit 9530e68a71

@ -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)

Loading…
Cancel
Save