summaryrefslogtreecommitdiffstats
path: root/po/Makefile
blob: ac8f6b9dc5b2b18b2d5fd798eaeb916922a00139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# copied from the gpodder makefile by Thomas Perl, also GPL

update:
	for langfile in *.po; do echo 'Compiling translation:' $${langfile}; mkdir -p ../locale/`basename $${langfile} .po`/LC_MESSAGES/; msgfmt $${langfile} -o ../locale/`basename $${langfile} .po`/LC_MESSAGES/vf_node_server.mo; done

generators:
	for langfile in *.po; do echo -n $${langfile}; msgmerge -U $${langfile} ../messages.pot; done

clean:
	rm -rf ../locale *~ *.mo

.PHONY: update generators clean