Re: libgnome HEAD build patch when srcdir != builddir



On Mon, 2001-12-17 at 21:35, Peter Williams wrote:
> Hi Jacob,
> 
> 	I need the following patch to make libgnome compile. Should be
> self-explanatory. Ok to check in?

ugh.  yes.

> Index: ChangeLog
> ===================================================================
> RCS file: /cvs/gnome/libgnome/ChangeLog,v
> retrieving revision 1.101
> diff -u -r1.101 ChangeLog
> --- ChangeLog	2001/12/17 19:28:37	1.101
> +++ ChangeLog	2001/12/18 02:35:33
> @@ -1,3 +1,9 @@
> +2001-12-17  Peter Williams  <peterw ximian com>
> +
> +	* schemas/Makefile.am (install-data-local): Make this
> +	work when srcdir != builddir (can't just do
> +	$(srcdir)/$(schema_DATA)...)
> +
>  2001-12-17  jacob berkman  <jacob ximian com>
>  
>  	* schemas/Makefile.am (EXTRA_DIST): add $(schama_DATA)
> Index: schemas/Makefile.am
> ===================================================================
> RCS file: /cvs/gnome/libgnome/schemas/Makefile.am,v
> retrieving revision 1.2
> diff -u -r1.2 Makefile.am
> --- schemas/Makefile.am	2001/12/17 19:28:37	1.2
> +++ schemas/Makefile.am	2001/12/18 02:35:33
> @@ -10,6 +10,8 @@
>  	desktop_gnome_url_handlers.schemas
>  
>  install-data-local:
> -	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
> +	for f in $(schema_DATA) ; do \
> +	    GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$f ; \
> +	done
>  
>  EXTRA_DIST = $(schema_DATA)

jacob
-- 
"In fact, can you imagine anything more terrifying than a zombie clown?"
	-- moby



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