forked from cromer/pamac-classic
13 lines
355 B
Makefile
13 lines
355 B
Makefile
|
|
||
|
MSGLANGS=$(notdir $(wildcard *.po))
|
||
|
|
||
|
MSGOBJS=$(addprefix locale/,$(MSGLANGS:.po=/LC_MESSAGES/pamac.mo))
|
||
|
|
||
|
locale/%/LC_MESSAGES/pamac.mo: %.po
|
||
|
msgfmt -c -o $*.mo $*.po
|
||
|
mkdir -p $(dir $@)
|
||
|
cp $*.mo $(dir $@)pamac.mo
|
||
|
|
||
|
gettext: $(MSGOBJS)
|
||
|
itstool -j ../data/polkit/org.manjaro.pamac.policy.in -o ../data/polkit/org.manjaro.pamac.policy $(MSGLANGS:.po=.mo)
|