[Libguestfs] [v2v PATCH 7/7] build: hopefully fix dependencies on generated files

Pino Toscano ptoscano at redhat.com
Fri Dec 13 16:01:39 UTC 2019


Make sure to directly address them by name, as the wildcard will not
work for non-existing files.
---
 v2v/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/v2v/Makefile.am b/v2v/Makefile.am
index 23256d3b..48d3f515 100644
--- a/v2v/Makefile.am
+++ b/v2v/Makefile.am
@@ -389,7 +389,7 @@ var_expander_tests_LINK = \
 .depend: \
 	$(srcdir)/*.mli \
 	$(srcdir)/*.ml \
-	config.ml \
-	output_rhv_upload_*_source.ml
+	$(CONFIGURE_GENERATED_ML) \
+	$(filter %.ml,$(BUILT_SOURCES))
 	$(top_builddir)/ocaml-dep.sh $^
 -include .depend
-- 
2.23.0




More information about the Libguestfs mailing list