Hilko Bengen
2014-Dec-28 07:33 UTC
[Libguestfs] [PATCH] Fix out-of-tree build: Don't create empty .y file in builddir
--- 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
Richard W.M. Jones
2014-Dec-30 00:02 UTC
Re: [Libguestfs] [PATCH] Fix out-of-tree build: Don't create empty .y file in builddir
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@redhat.com > https://www.redhat.com/mailman/listinfo/libguestfsACK -- 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