Re: gtk.immodules generation in cross-compile systems



On 2002.07.07 20:58 Owen Taylor wrote:

[snip]

This looks OK, but I'd rather see it better integrated with the
DESTDIR handling. Maybe something like:

if CROSS_COMPILING
RUN_QUERY_IMODULES_TEST=false
else
RUN_QUERY_IMMODULES_TEST=test -z "$(DESTDIR)"
endif

[...]

  	if $(RUN_QUERY_IMMODULES_TEST) ; then \
  	  $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \
  	  $(top_builddir)/gtk/gtk-query-immodules-2.0 >
$(DESTDIR)$(sysconfdir)/gtk-2.0/gtk.immodules ; \
        else ; \
          [ echo warning ]
        fi

Thanks, Owen. I'll put together a revised patch tomorrow and
file it in bugzilla after testing.

Cheers.

--
Ali Harlow                              Email: ali avrc city ac uk
Research programmer                     Tel:   (020) 7040 4348
Applied Vision Research Centre          Intl: +44 20 7040 4348
City University                         Fax:   (020) 7040 5515
London                                  Intl: +44 20 7040 5515



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]