[Pkg-libvirt-commits] [libguestfs] 73/146: builder: Try again to fix the infinitely recursive index-parse.h rule.
Hilko Bengen
bengen at moszumanska.debian.org
Sun Mar 29 17:00:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit 68881e50784703c235860d0469491eeee1e86a1e
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.
(cherry picked from commit f4b846445e222315060eb579d86ada5870c0174a)
---
builder/Makefile.am | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/builder/Makefile.am b/builder/Makefile.am
index a57a955..3342498 100644
--- a/builder/Makefile.am
+++ b/builder/Makefile.am
@@ -323,12 +323,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