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.
 
 
 

21 lines
310 B

  1. XGETTEXT = xgettext --keyword=_ --keyword=N_ --add-comments=TRANS:
  2. MOS:=$(addsuffix .mo, $(LANGS))
  3. all: C.po $(MOS)
  4. touch build_stamp
  5. C.po:
  6. $(XGETTEXT) -o $@ ../*.[ch]
  7. %.mo: %.po
  8. msgfmt -o $@ $<
  9. clean:
  10. -rm -f C.po build_stamp
  11. -rm -f *.mo
  12. update-%: %.po C.po
  13. mv $< $<.bak
  14. msgmerge $<.bak C.po > $<