[Pkg-libvirt-commits] [libguestfs] 89/384: builder: Try again to fix the infinitely recursive index-parse.h rule.

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 16:55:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit f4b846445e222315060eb579d86ada5870c0174a
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Dec 12 15:58:05 2014 +0000

    builder: Try again to fix the infinitely recursive index-parse.h rule.
    
    I ran 'make clean && make' hundreds of times in the builder
    subdirectory and it didn't fail.
---
 builder/Makefile.am | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/builder/Makefile.am b/builder/Makefile.am
index 69fc11b..a0d139b 100644
--- a/builder/Makefile.am
+++ b/builder/Makefile.am
@@ -307,12 +307,13 @@ CLEANFILES += \
 	stamp-virt-index-validate.pod
 
 if HAVE_OCAML
-# Automake-generated makefile has a rule ".l.c:" but lacks a rule ".l.h:".
+# Automake-generated makefile has a rule ".y.c" but lacks a rule ".y.h".
+index-parse.h: index-parse.y
+	touch index-parse.y
+	$(MAKE) index-parse.c
 # Also it doesn't generate dependencies for the C files that include
 # index-parse.h.
 index-parser-c.c index-scan.c index-validate.c: index-parse.h
-index-parse.h: index-parse.y
-	$(MAKE) index-parse.h
 endif
 
 # Apparently there's no clean way with Automake to not have them

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list