Makefile 404 B

12345678910111213141516171819
  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. clean :
  7. rm -f $(core_mo) $(plugin_mo)
  8. updatepo :
  9. php scripts/update_po_templates.php --all
  10. %.mo : %.po
  11. msgfmt -o $@ $<