Makefile 440 B

12345678910111213141516171819202122
  1. # Warning: do not transform tabs to spaces in this file.
  2. all : translations
  3. core_mo = $(patsubst %.po,%.mo,$(wildcard locale/*/LC_MESSAGES/statusnet.po))
  4. plugin_mo = $(patsubst %.po,%.mo,$(wildcard plugins/*/locale/*/LC_MESSAGES/*.po))
  5. translations : $(core_mo) $(plugin_mo)
  6. upgrade :
  7. php scripts/upgrade.php
  8. clean :
  9. rm -f $(core_mo) $(plugin_mo)
  10. updatepo :
  11. php scripts/update_po_templates.php --all
  12. %.mo : %.po
  13. msgfmt -o $@ $<