Lines Matching refs:po
31 gettextsrcdir = $(datadir)/gettext/po
73 .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
75 .po.mo:
79 .po.gmo:
82 echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
83 …cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && …
92 all-yes: stamp-po
99 # In this case, stamp-po is a nop (i.e. a phony target).
101 # stamp-po is a timestamp denoting the last time at which the CATALOGS have
109 stamp-po: $(srcdir)/$(DOMAIN).pot
113 echo "touch stamp-po" && \
115 mv stamp-poT stamp-po; \
135 test ! -f $(DOMAIN).po || { \
137 sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
138 sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
139 if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
140 rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
142 rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
143 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
146 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
159 @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
160 if test -f "$(srcdir)/$${lang}.po"; then \
162 echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
163 cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \
165 $(MAKE) $${lang}.po-create; \
301 rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
312 rm -f stamp-po $(GMOFILES)
316 $(MAKE) update-po
318 # This is a separate target because 'update-po' must be executed before.
319 dist2: stamp-po $(DISTFILES)
325 dists="$$dists $(DOMAIN).pot stamp-po"; \
344 update-po: Makefile
351 .nop.po-create:
352 @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
353 …echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'.…
358 .nop.po-update:
359 @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
364 echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
366 if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
367 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
368 rm -f $$tmpdir/$$lang.new.po; \
370 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
373 echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
378 echo "msgmerge for $$lang.po failed!" 1>&2; \
379 rm -f $$tmpdir/$$lang.new.po; \
389 && $(SHELL) ./config.status $(subdir)/$@.in po-directories