[Mono-devel-list] Fix for distcheck in gtkmozembed-sharp

Raja R Harinath rharinath at novell.com
Tue Jun 15 04:53:39 EDT 2004


Hi,

Gonzalo Paniagua Javier <gonzalo at ximian.com> writes:

[snip]  
> Index: sample/Makefile.am
> ===================================================================
> RCS file: /cvs/public/gtkmozembed-sharp/sample/Makefile.am,v
> retrieving revision 1.9
> diff -u -r1.9 Makefile.am
> --- sample/Makefile.am	14 Jun 2004 16:25:39 -0000	1.9
> +++ sample/Makefile.am	15 Jun 2004 03:02:31 -0000
> @@ -1,7 +1,8 @@
> -EXTRA_DIST = GtkMozApp.cs MozWindow.cs
> +EXTRA_DIST = GtkMozApp.cs MozWindow.cs webshot.in 
>  CLEANFILES = GtkMozApp.exe WebThumbnailer.exe webshot
>  
>  bin_SCRIPTS = webshot
> +noinst_SCRIPTS = GtkMozApp.exe WebThumbnailer.exe
>  
>  exedir = $(libdir)/gecko-sharp
>  exe_DATA = WebThumbnailer.exe
> @@ -10,21 +11,20 @@
>  	sed -e 's^\@libdir\@^$(libdir)^g' < $(srcdir)/webshot.in > webshot.tmp \
>          && mv webshot.tmp webshot
>  
> -all: GtkMozApp.exe WebThumbnailer.exe
> -

This seems right.

>  GtkMozApp.exe: $(srcdir)/GtkMozApp.cs $(srcdir)/MozWindow.cs
>  	$(MCS) --unsafe \
> -	-L @top_builddir@/gtkmozembed \
> +	-L @top_builddir at gtkmozembed \
>  	-r gecko-sharp.dll \
>  	-L $(GTKSHARP_PREFIX)/lib \
>  	-pkg:gtk-sharp \
>  	-r System.Drawing \
> -	-o GtkMozApp.exe $(srcdir)/GtkMozApp.cs $(srcdir)/MozWindow.cs
> +	-o GtkMozApp.exe $^
>  
>  WebThumbnailer.exe: $(srcdir)/WebThumbnailer.cs
> -	$(MCS) 	-L @top_builddir@/gtkmozembed \
> +	$(MCS) 	-L @top_builddir at gtkmozembed \
>  	-r gecko-sharp.dll \
> -	-pkg:gtk-sharp $(srcdir)/WebThumbnailer.cs
> +	-pkg:gtk-sharp -out:$@ $^

But this doesn't.  AFAIK $(top_builddir) is not /-terminated.

- Hari



More information about the Mono-devel-list mailing list