| author | Jens-Uwe Grooss <j.-u.grooss@fz-juelich.de> | 
| Fri, 09 Jan 2015 16:12:57 +0100 | |
| changeset 356 | f9af2d4c4711 | 
| parent 232 | ec1bb552ce55 | 
| child 1040 | ee422f2e89c1 | 
| permissions | -rw-r--r-- | 
| rb@98 | 1 | # | 
| rb@232 | 2 | # Makefile for eskp | 
| rb@98 | 3 | # | 
| rb@98 | 4 | |
| rb@232 | 5 | # location for the eskp.py we use: | 
| rb@98 | 6 | export PYTHONPATH=$(PWD) | 
| rb@98 | 7 | |
| rb@98 | 8 | pylint: | 
| rb@232 | 9 | pylint ./eskp.py | 
| rb@98 | 10 | |
| rb@98 | 11 | pybabel_init: | 
| rb@232 | 12 | pybabel extract -o ./translations/eskp.pot . | 
| rb@232 | 13 | pybabel init -i ./translations/eskp.pot -d translations -l de | 
| rb@232 | 14 | pybabel init -i ./translations/eskp.pot -d translations -l en | 
| rb@98 | 15 | |
| rb@98 | 16 | pybabel_update: | 
| rb@232 | 17 | pybabel extract -o ./translations/eskp.pot . | 
| rb@232 | 18 | pybabel update -i ./translations/eskp.pot -d translations -l de | 
| rb@232 | 19 | pybabel update -i ./translations/eskp.pot -d translations -l en | 
| rb@98 | 20 | |
| rb@155 | 21 | msgfmt: | 
| rb@155 | 22 | msgfmt --strict ./translations/de/LC_MESSAGES/messages.po -o ./translations/de/LC_MESSAGES/messages.mo | 
| rb@155 | 23 |