diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..24072f1 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +install: + python setup.py install + +test: + py.test tests/ + +locale-extract: + pybabel extract --mapping=babel.ini --project='Hatta Wiki' --copyright-holder='Radomir Dopieralski' --msgid-bugs-address='hatta@sheep.art.pl' --output=locale/hatta.pot hatta/ + +locale-compile: locale/*/LC_MESSAGES/hatta.mo + +locale/%/LC_MESSAGES/hatta.mo: locale/%/hatta.po + msgfmt -o $@ -- $< + +.PHONY: locale-extract locale-compile test install |