mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user