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 1609644e5c..aa59d2f3ff 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 6728b39c90..daaa7e4120 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 \
$(HYPERV_DRIVER_GENERATED) \
$(HYPERV_GENERATED_STAMP) \
$(NULL)
@@ -40,9 +39,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)srcdir=$(srcdir) $(RUNUTF8) $(PYTHON) \
- $(srcdir)/hyperv/hyperv_wmi_generator.py \
+ $(top_srcdir)/scripts/hyperv_wmi_generator.py \
&& touch $@
MAINTAINERCLEANFILES += $(HYPERV_DRIVER_GENERATED) $(HYPERV_GENERATED_STAMP)
--
2.21.0