patch-po_Makefile_in 841 B

1234567891011121314151617181920212223242526
  1. $OpenBSD: patch-po_Makefile_in,v 1.1 2009/01/04 08:25:48 fgsch Exp $
  2. --- po/Makefile.in.orig Wed Dec 17 17:15:20 2008
  3. +++ po/Makefile.in Wed Dec 17 17:28:03 2008
  4. @@ -128,9 +128,9 @@ top_srcdir = @top_srcdir@
  5. var = @var@
  6. DOMAIN = kanatest
  7. POTFILES = $(wildcard ../src/*.c ../src/*.h)
  8. -MSGFMT = /usr/bin/msgfmt
  9. -XGETTEXT = /usr/bin/xgettext
  10. -MSGMERGE = /usr/bin/msgmerge
  11. +MSGFMT = msgfmt
  12. +XGETTEXT = xgettext
  13. +MSGMERGE = msgmerge
  14. XGETTEXT_OPTS = --keyword=_ --keyword=N_ --keyword=X_ --add-comments=TRANSLATORS:
  15. POFILES = de.po fr.po hu.po pl.po pt.po ru.po
  16. MOFILES = $(POFILES:.po=.mo)
  17. @@ -301,7 +301,7 @@ all: $(MOFILES)
  18. update-po: $(DOMAIN).pot $(POFILES) $(MOFILES)
  19. -%.mo: skip
  20. +$(MOFILES): skip
  21. @po=$(@:.mo=.po); if test $$po -nt $@ ; then $(MSGFMT) -c --statistics $$po -o $@; echo "$@ updated."; fi
  22. %.po: $(DOMAIN).pot