[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] build: ship stamp files



'make distcheck' fails because the generated ESX and HyperV files
are (intentionally) marked read-only, but since the stamp file was
missing, make assumes they need to be rebuilt.  Shipping the stamp
file solves the problem.

* src/Makefile.am (EXTRA_DIST): Ship stamp files.
---

Pushing under the build-breaker rule.

 src/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index ac5a27f..213bd83 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -930,6 +930,8 @@ BUILT_SOURCES += $(ESX_DRIVER_GENERATED)

 ESX_GENERATED_STAMP = .esx_vi_generator.stamp

+EXTRA_DIST += $(ESX_GENERATED_STAMP)
+
 $(ESX_DRIVER_GENERATED): $(ESX_GENERATED_STAMP)

 $(ESX_GENERATED_STAMP): $(srcdir)/esx/esx_vi_generator.input \
@@ -956,6 +958,8 @@ BUILT_SOURCES += $(HYPERV_DRIVER_GENERATED)

 HYPERV_GENERATED_STAMP = .hyperv_wmi_generator.stamp

+EXTRA_DIST += $(HYPERV_GENERATED_STAMP)
+
 $(HYPERV_DRIVER_GENERATED): $(HYPERV_GENERATED_STAMP)

 $(HYPERV_GENERATED_STAMP): $(srcdir)/hyperv/hyperv_wmi_generator.input \
-- 
1.7.11.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]