Lines Matching refs:po
28 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: @MAINTAINER_CMT@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
110 perl $(srcdir)/at-expand.pl < $(DOMAIN).po > $(DOMAIN).po.new
111 mv $(DOMAIN).po $(DOMAIN).po.bak
112 mv $(DOMAIN).po.new $(DOMAIN).po
113 test ! -f $(DOMAIN).po || { \
115 sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
116 sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
117 if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
118 rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
120 rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
121 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
124 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
137 @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
138 if test -f "$(srcdir)/$${lang}.po"; then \
140 echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
141 cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \
143 $(MAKE) $${lang}.po-create; \
279 rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
280 rm -f $(DOMAIN).po.bak
293 rm -f stamp-po $(GMOFILES)
297 $(MAKE) update-po
299 # This is a separate target because 'update-po' must be executed before.
322 update-po: Makefile
329 .nop.po-create:
330 @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
331 …echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'.…
336 .nop.po-update:
337 @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
342 echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
344 if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
345 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
346 rm -f $$tmpdir/$$lang.new.po; \
348 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
351 echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
356 echo "msgmerge for $$lang.po failed!" 1>&2; \
357 rm -f $$tmpdir/$$lang.new.po; \