Home | History | Annotate | Download | only in po

Lines Matching defs:DOMAIN

3 # This file is in the public domain.
14 # Usually the message domain is the same as the package name in lower case.
15 DOMAIN = hello-objc-gnustep
21 # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
26 # the public domain; in this case the translators are expected to disclaim
84 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
88 # This target rebuilds $(DOMAIN).pot; it is an expensive operation.
89 # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
90 $(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
91 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
96 test ! -f $(DOMAIN).po || { \
97 if test -f $(DOMAIN).pot; then \
98 sed -f remove-potcdate.sed < $(DOMAIN).pot > $(DOMAIN).1po && \
99 sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
100 if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
101 rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
103 rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).pot && \
104 mv $(DOMAIN).po $(DOMAIN).pot; \
107 mv $(DOMAIN).po $(DOMAIN).pot; \
111 # This rule has no dependencies: we don't need to update $(DOMAIN).pot at
113 # Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
114 $(DOMAIN).pot:
115 $(MAKE) $(DOMAIN).pot-update
117 # This target rebuilds a PO file if $(DOMAIN).pot has changed.
119 $(POFILES): $(DOMAIN).pot
121 echo "$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
122 $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot
125 $(MAKE) $(DOMAIN).pot-update
135 echo "$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
136 if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
167 $(ENSTRINGSFILES): $(DOMAIN).pot
169 $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $(UNIXLOCALE_$(patsubst %.lproj,%, $(notdir $(patsubst %/,%, $(dir $@))))) --stringtable-output -o $@.tmp