Lines Matching full:domain
9 # General Public License and is *not* in the public domain.
103 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
104 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
111 # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
112 # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
117 stamp-po: $(srcdir)/$(DOMAIN).pot
118 test ! -f $(srcdir)/$(DOMAIN).pot || \
120 @test ! -f $(srcdir)/$(DOMAIN).pot || { \
126 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
130 # This target rebuilds $(DOMAIN).pot; it is an expensive operation.
131 # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
132 $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
138 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
143 test ! -f $(DOMAIN).po || { \
144 if test -f $(srcdir)/$(DOMAIN).pot; then \
145 sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
146 sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
147 if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
148 rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
150 rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
151 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
154 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
158 # This rule has no dependencies: we don't need to update $(DOMAIN).pot at
160 # Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
161 $(srcdir)/$(DOMAIN).pot:
162 $(MAKE) $(DOMAIN).pot-update
164 # This target rebuilds a PO file if $(DOMAIN).pot has changed.
166 $(POFILES): $(srcdir)/$(DOMAIN).pot
170 echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
171 cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \
202 $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
203 echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
225 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
226 ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
227 ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
228 cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
229 echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
298 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
309 rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
332 if test -f $(srcdir)/$(DOMAIN).pot; then \
333 dists="$$dists $(DOMAIN).pot stamp-po"; \
353 $(MAKE) $(DOMAIN).pot-update
372 echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
374 if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \