Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
Makefile.am | 1 +
{src/hyperv => scripts}/hyperv_wmi_generator.py | 0
src/hyperv/Makefile.inc.am | 5 ++---
3 files changed, 3 insertions(+), 3 deletions(-)
rename {src/hyperv => scripts}/hyperv_wmi_generator.py (100%)
diff --git a/Makefile.am b/Makefile.am
index 14456161c3..adad46f1f0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,6 +64,7 @@ EXTRA_DIST = \
scripts/group-qemu-caps.py \
scripts/header-ifdef.py \
scripts/hvsupport.py \
+ scripts/hyperv_wmi_generator.py \
scripts/minimize-po.py \
scripts/mock-noinline.py \
scripts/prohibit-duplicate-header.py \
diff --git a/src/hyperv/hyperv_wmi_generator.py b/scripts/hyperv_wmi_generator.py
similarity index 100%
rename from src/hyperv/hyperv_wmi_generator.py
rename to scripts/hyperv_wmi_generator.py
diff --git a/src/hyperv/Makefile.inc.am b/src/hyperv/Makefile.inc.am
index b71602c971..5d801b28b6 100644
--- a/src/hyperv/Makefile.inc.am
+++ b/src/hyperv/Makefile.inc.am
@@ -23,7 +23,6 @@ HYPERV_GENERATED_STAMP = .hyperv_wmi_generator.stamp
HYPERV_DRIVER_EXTRA_DIST = \
hyperv/hyperv_wmi_generator.input \
- hyperv/hyperv_wmi_generator.py \
$(NULL)
DRIVER_SOURCE_FILES += $(HYPERV_DRIVER_SOURCES)
@@ -38,9 +37,9 @@ BUILT_SOURCES += $(HYPERV_DRIVER_GENERATED)
$(HYPERV_DRIVER_GENERATED): $(HYPERV_GENERATED_STAMP)
$(HYPERV_GENERATED_STAMP): $(srcdir)/hyperv/hyperv_wmi_generator.input \
- $(srcdir)/hyperv/hyperv_wmi_generator.py
+ $(top_srcdir)/scripts/hyperv_wmi_generator.py
$(AM_V_GEN) $(RUNUTF8) $(PYTHON) \
- $(srcdir)/hyperv/hyperv_wmi_generator.py $(srcdir) $(builddir) \
+ $(top_srcdir)/scripts/hyperv_wmi_generator.py $(srcdir) $(builddir) \
&& touch $@
CLEANFILES += $(HYPERV_DRIVER_GENERATED) $(HYPERV_GENERATED_STAMP)
--
2.21.0