view Makefile @ 2491:c7b397a38422 default tip

Make it work with newer pygments
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Sun, 10 Mar 2019 19:33:33 +0100
parents d5cc5e0bc83c
children
line wrap: on
line source

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