1 TRANS_FOLDER
=enkel
/translations
3 NB_FOLDER
=$(TRANS_FOLDER
)/nb
/LC_MESSAGES
4 EN_FOLDER
=$(TRANS_FOLDER
)/en
/LC_MESSAGES
5 POT
=$(TRANS_FOLDER
)/$(DOMAIN
).pot
8 epydoc
--config epydoc.html.cfg
-v
11 rm -f
`find ./ -iname "*.pyc"`
13 rm -rf
dist/ build
/ Enkel.egg-info
/
16 @echo
"*** updating pot-file from sources"
17 xgettext
-o
$(POT
) --keyword
="N_:1" `find enkel/ -name "*.py"`
20 @echo
"*** merging changes is pot-file into existing po-files"
21 msgmerge
-U
$(NB_FOLDER
)/$(DOMAIN
).po
$(POT
) --suffix=.bak
22 msgmerge
-U
$(EN_FOLDER
)/$(DOMAIN
).po
$(POT
) --suffix=.bak
27 @echo
"*** compiling po-files to *.mo"
28 msgfmt
-o
$(NB_FOLDER
)/$(DOMAIN
).mo
$(NB_FOLDER
)/$(DOMAIN
).po
29 msgfmt
-o
$(EN_FOLDER
)/$(DOMAIN
).mo
$(EN_FOLDER
)/$(DOMAIN
).po