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.

17 lines
408B

  1. MSGLANGS=$(notdir $(wildcard *.po))
  2. MSGOBJS=$(addprefix locale/,$(MSGLANGS:.po=/LC_MESSAGES/pamac.mo))
  3. gettext: ../data/polkit/org.pamac.policy.in $(MSGOBJS)
  4. msgfmt --xml --template ../data/polkit/org.pamac.policy.in -d ./ -o ../data/polkit/org.pamac.policy
  5. clean:
  6. rm -rf locale
  7. rm -f *.mo
  8. locale/%/LC_MESSAGES/pamac.mo: %.po
  9. msgfmt -c -o $*.mo $*.po
  10. mkdir -p $(dir $@)
  11. cp $*.mo $(dir $@)pamac.mo