Lines Matching refs:po
27 gettextsrcdir = $(datadir)/gettext/po
49 DISTFILES = $(DISTFILES.common) Makevars POTFILES.in $(DOMAIN).pot stamp-po \
60 .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
62 .po.mo:
66 .po.gmo:
69 echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
70 …cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && …
79 all-yes: stamp-po
82 # stamp-po is a timestamp denoting the last time at which the CATALOGS have
90 stamp-po: $(srcdir)/$(DOMAIN).pot
92 @echo "touch stamp-po"
94 @mv stamp-poT stamp-po
108 test ! -f $(DOMAIN).po || { \
110 sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
111 sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
112 if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
113 rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
115 rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
116 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
119 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
132 @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
133 if test -f "$(srcdir)/$${lang}.po"; then \
135 echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
136 cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \
138 $(MAKE) $${lang}.po-create; \
274 rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
285 rm -f stamp-po $(GMOFILES)
289 $(MAKE) update-po
291 # This is a separate target because 'update-po' must be executed before.
314 update-po: Makefile
321 .nop.po-create:
322 @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
323 …echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'.…
328 .nop.po-update:
329 @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
334 echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
336 if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
337 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
338 rm -f $$tmpdir/$$lang.new.po; \
340 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
343 echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
348 echo "msgmerge for $$lang.po failed!" 1>&2; \
349 rm -f $$tmpdir/$$lang.new.po; \