Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
Makefile.am | 1 +
{src/esx => scripts}/esx_vi_generator.py | 0
src/esx/Makefile.inc.am | 5 ++---
3 files changed, 3 insertions(+), 3 deletions(-)
rename {src/esx => scripts}/esx_vi_generator.py (100%)
diff --git a/Makefile.am b/Makefile.am
index f131c40f62..1609644e5c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -57,6 +57,7 @@ EXTRA_DIST = \
scripts/check-symfile.py \
scripts/check-symsorting.py \
scripts/dtrace2systemtap.py \
+ scripts/esx_vi_generator.py \
scripts/genaclperms.py \
scripts/genpolkit.py \
scripts/gensystemtap.py \
diff --git a/src/esx/esx_vi_generator.py b/scripts/esx_vi_generator.py
similarity index 100%
rename from src/esx/esx_vi_generator.py
rename to scripts/esx_vi_generator.py
diff --git a/src/esx/Makefile.inc.am b/src/esx/Makefile.inc.am
index 3dab05d71c..2253f36900 100644
--- a/src/esx/Makefile.inc.am
+++ b/src/esx/Makefile.inc.am
@@ -43,7 +43,6 @@ ESX_DRIVER_GENERATED = \
ESX_DRIVER_EXTRA_DIST = \
esx/README \
esx/esx_vi_generator.input \
- esx/esx_vi_generator.py \
$(ESX_DRIVER_GENERATED) \
$(NULL)
@@ -62,9 +61,9 @@ BUILT_SOURCES += $(ESX_DRIVER_GENERATED)
$(ESX_DRIVER_GENERATED): $(ESX_GENERATED_STAMP)
$(ESX_GENERATED_STAMP): $(srcdir)/esx/esx_vi_generator.input \
- $(srcdir)/esx/esx_vi_generator.py
+ $(top_srcdir)/scripts/esx_vi_generator.py
$(AM_V_GEN)srcdir=$(srcdir) $(RUNUTF8) $(PYTHON) \
- $(srcdir)/esx/esx_vi_generator.py && touch $@
+ $(top_srcdir)/scripts/esx_vi_generator.py && touch $@
MAINTAINERCLEANFILES += $(ESX_DRIVER_GENERATED) $(ESX_GENERATED_STAMP)
--
2.21.0