Rules-pot-defaults 533 B

123456789101112
  1. update-po: Makefile
  2. $(MAKE) $(DOMAIN).pot-update && \
  3. sed \
  4. -e '/#, fuzzy/d' \
  5. -e 's/Project-Id-Version: PACKAGE VERSION/Project-Id-Version: $(PACKAGE) $(VERSION)/' \
  6. -e 's/^"Plural-Forms: nplurals=INTEGER;/#"Plural-Forms: nplurals=INTEGER;/' \
  7. -e 's@Content-Type: text/plain; charset=CHARSET@Content-Type: text/plain; charset=utf-8@' \
  8. < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
  9. mv -f $(DOMAIN).1po $(srcdir)/$(DOMAIN).pot
  10. test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
  11. $(MAKE) update-gmo