Lines Matching defs:DOMAIN
85 DOMAIN = $(PACKAGE)
95 # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
154 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
155 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
162 # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
163 # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
168 stamp-po: $(srcdir)/$(DOMAIN).pot
169 test ! -f $(srcdir)/$(DOMAIN).pot || \
171 @test ! -f $(srcdir)/$(DOMAIN).pot || { \
177 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
181 # This target rebuilds $(DOMAIN).pot; it is an expensive operation.
182 # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
183 $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
196 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
203 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
212 test ! -f $(DOMAIN).po || { \
213 if test -f $(srcdir)/$(DOMAIN).pot; then \
214 sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
215 sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
216 if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
217 rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
219 rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
220 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
223 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
227 # This rule has no dependencies: we don't need to update $(DOMAIN).pot at
229 # Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
230 $(srcdir)/$(DOMAIN).pot:
231 $(MAKE) $(DOMAIN).pot-update
233 # This target rebuilds a PO file if $(DOMAIN).pot has changed.
235 $(POFILES): $(srcdir)/$(DOMAIN).pot
239 echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
240 cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \
271 $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
272 echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
294 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
295 ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
296 ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
297 cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
298 echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
367 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
378 rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
401 if test -f $(srcdir)/$(DOMAIN).pot; then \
402 dists="$$dists $(DOMAIN).pot stamp-po"; \
422 $(MAKE) $(DOMAIN).pot-update
441 echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
443 if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
495 if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \