Graphical package manager for pacman based on pamac 5.x.x
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
408 B

MSGLANGS=$(notdir $(wildcard *.po))
MSGOBJS=$(addprefix locale/,$(MSGLANGS:.po=/LC_MESSAGES/
gettext: ../data/polkit/ $(MSGOBJS)
msgfmt --xml --template ../data/polkit/ -d ./ -o ../data/polkit/org.pamac.policy
rm -rf locale
rm -f *.mo
locale/%/LC_MESSAGES/ %.po
msgfmt -c -o $*.mo $*.po
mkdir -p $(dir $@)
cp $*.mo $(dir $@)