Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 420591
Collapse All | Expand All

(-)a/GNUmakefile.am (-1 / +1 lines)
Lines 286-292 Link Here
286
# Older automake versions (1.7) place Plo files in a different place so we need
286
# Older automake versions (1.7) place Plo files in a different place so we need
287
# to create the output directory manually.
287
# to create the output directory manually.
288
all-local: stamp-po
288
all-local: stamp-po
289
	$(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources
289
	$(MKDIR_P) $(top_builddir)/$(DEPDIR)/DerivedSources
290
290
291
# Horrible hack to enable workaround for parallel make failure
291
# Horrible hack to enable workaround for parallel make failure
292
all-built-sources-local: $(BUILT_SOURCES) autotoolsconfig.h
292
all-built-sources-local: $(BUILT_SOURCES) autotoolsconfig.h
(-)a/Source/WebKit/gtk/po/GNUmakefile.am (-4 / +4 lines)
Lines 140-152 Link Here
140
	$(top_builddir)/Source/WebKit/gtk/po/$(DOMAIN).pot
140
	$(top_builddir)/Source/WebKit/gtk/po/$(DOMAIN).pot
141
141
142
po-install-data-local: all
142
po-install-data-local: all
143
	$(mkdir_p) $(DESTDIR)$(datadir)
143
	$(MKDIR_P) $(DESTDIR)$(datadir)
144
	@catalogs='$(MOFILES)'; \
144
	@catalogs='$(MOFILES)'; \
145
	for cat in $$catalogs; do \
145
	for cat in $$catalogs; do \
146
	  cat=`basename $$cat`; \
146
	  cat=`basename $$cat`; \
147
	  lang=`echo $$cat | sed -e 's/\.mo$$//'`; \
147
	  lang=`echo $$cat | sed -e 's/\.mo$$//'`; \
148
	  dir=$(localedir)/$$lang/LC_MESSAGES; \
148
	  dir=$(localedir)/$$lang/LC_MESSAGES; \
149
	  $(mkdir_p) $(DESTDIR)$$dir; \
149
	  $(MKDIR_P) $(DESTDIR)$$dir; \
150
	  if test -r Source/WebKit/gtk/po/$$cat; then realcat=Source/WebKit/gtk/po/$$cat; else realcat=$(srcdir)/$$cat; fi; \
150
	  if test -r Source/WebKit/gtk/po/$$cat; then realcat=Source/WebKit/gtk/po/$$cat; else realcat=$(srcdir)/$$cat; fi; \
151
	  $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
151
	  $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
152
	  echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
152
	  echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
Lines 181-193 Link Here
181
	done
181
	done
182
182
183
po-installdirs-data-local:
183
po-installdirs-data-local:
184
	$(mkdir_p) $(DESTDIR)$(datadir)
184
	$(MKDIR_P) $(DESTDIR)$(datadir)
185
	@catalogs='$(MOFILES)'; \
185
	@catalogs='$(MOFILES)'; \
186
	for cat in $$catalogs; do \
186
	for cat in $$catalogs; do \
187
	  cat=`basename $$cat`; \
187
	  cat=`basename $$cat`; \
188
	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
188
	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
189
	  dir=$(localedir)/$$lang/LC_MESSAGES; \
189
	  dir=$(localedir)/$$lang/LC_MESSAGES; \
190
	  $(mkdir_p) $(DESTDIR)$$dir; \
190
	  $(MKDIR_P) $(DESTDIR)$$dir; \
191
	  for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
191
	  for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
192
	    if test -n "$$lc"; then \
192
	    if test -n "$$lc"; then \
193
	      if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
193
	      if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \

Return to bug 420591