[Libguestfs] [PATCH] Fix out-of-tree build: Don't create empty .y file in builddir

Richard W.M. Jones rjones at redhat.com
Tue Dec 30 00:02:13 UTC 2014


On Sun, Dec 28, 2014 at 08:33:30AM +0100, Hilko Bengen wrote:
> ---
>  builder/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/builder/Makefile.am b/builder/Makefile.am
> index a0d139b..29f7556 100644
> --- a/builder/Makefile.am
> +++ b/builder/Makefile.am
> @@ -309,7 +309,7 @@ CLEANFILES += \
>  if HAVE_OCAML
>  # Automake-generated makefile has a rule ".y.c" but lacks a rule ".y.h".
>  index-parse.h: index-parse.y
> -	touch index-parse.y
> +	touch $(srcdir)/index-parse.y
>  	$(MAKE) index-parse.c
>  # Also it doesn't generate dependencies for the C files that include
>  # index-parse.h.
> -- 
> 2.1.4
> 
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://www.redhat.com/mailman/listinfo/libguestfs

ACK

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list