aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 6f45c1b83e027779001d68008d1270eb4eae293d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Warning: do not transform tabs to spaces in this file.

all : translations

core_mo = $(patsubst %.po,%.mo,$(wildcard locale/*/LC_MESSAGES/statusnet.po))
plugin_mo = $(patsubst %.po,%.mo,$(wildcard plugins/*/locale/*/LC_MESSAGES/*.po))

translations : $(core_mo) $(plugin_mo)

clean :
	rm -f $(core_mo) $(plugin_mo)

updatepo :
	php scripts/update_po_templates.php --all

%.mo : %.po
	msgfmt -o $@ $<