[Libguestfs] [PATCH 2/4] p2v: consider p2v-config.h as generated source

Pino Toscano ptoscano at redhat.com
Mon Jul 8 17:01:45 UTC 2019


While it is generated at configure time for dependency reasons, consider
it a generated source nevertheless: after the first run, there will be
dependency rules available, so automake will trigger the proper rule to
generate it again using generate-p2v-config.pl.
---
 p2v/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/p2v/Makefile.am b/p2v/Makefile.am
index 741f4d50d..e0b194c29 100644
--- a/p2v/Makefile.am
+++ b/p2v/Makefile.am
@@ -108,7 +108,8 @@ virt_p2v_SOURCES = \
 
 generated_sources = \
 	config.c \
-	kernel-config.c
+	kernel-config.c \
+	p2v-config.h
 
 nodist_virt_p2v_SOURCES = \
 	$(generated_sources) \
-- 
2.21.0




More information about the Libguestfs mailing list