Lines Matching full:domain
11 # General Public License and is *not* in the public domain.
95 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
96 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
103 # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
104 # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
109 stamp-po: $(srcdir)/$(DOMAIN).pot
110 test ! -f $(srcdir)/$(DOMAIN).pot || \
112 @test ! -f $(srcdir)/$(DOMAIN).pot || { \
118 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
122 # This target rebuilds $(DOMAIN).pot; it is an expensive operation.
123 # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
124 $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
130 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
135 test ! -f $(DOMAIN).po || { \
136 if test -f $(srcdir)/$(DOMAIN).pot; then \
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; \
150 # This rule has no dependencies: we don't need to update $(DOMAIN).pot at
152 # Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
153 $(srcdir)/$(DOMAIN).pot:
154 $(MAKE) $(DOMAIN).pot-update
156 # This target rebuilds a PO file if $(DOMAIN).pot has changed.
158 $(POFILES): $(srcdir)/$(DOMAIN).pot
162 echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
163 cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \
194 $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
195 echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
217 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
218 ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
219 ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
220 cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
221 echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
290 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
301 rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
324 if test -f $(srcdir)/$(DOMAIN).pot; then \
325 dists="$$dists $(DOMAIN).pot stamp-po"; \
345 $(MAKE) $(DOMAIN).pot-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 \