Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
Makefile.am | 1 +
build-aux/syntax-check.mk | 2 +-
docs/Makefile.am | 5 ++---
{docs => scripts}/apibuild.py | 0
4 files changed, 4 insertions(+), 4 deletions(-)
rename {docs => scripts}/apibuild.py (100%)
diff --git a/Makefile.am b/Makefile.am
index a14474f535..67d07eff41 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,6 +45,7 @@ EXTRA_DIST = \
run.in \
README.md \
AUTHORS.in \
+ scripts/apibuild.py \
scripts/augeas-gentest.py \
scripts/check-aclperms.py \
scripts/check-aclrules.py \
diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk
index 44639f499e..ee8a496efa 100644
--- a/build-aux/syntax-check.mk
+++ b/build-aux/syntax-check.mk
@@ -2284,7 +2284,7 @@ exclude_file_name_regexp--sc_trailing_blank = \
/sysinfodata/.*\.data|/virhostcpudata/.*\.cpuinfo|^gnulib/local/.*/.*diff$$
exclude_file_name_regexp--sc_unmarked_diagnostics = \
- ^(docs/apibuild.py|tests/virt-aa-helper-test|docs/js/.*\.js)$$
+ ^(scripts/apibuild.py|tests/virt-aa-helper-test|docs/js/.*\.js)$$
exclude_file_name_regexp--sc_size_of_brackets = build-aux/syntax-check\.mk
diff --git a/docs/Makefile.am b/docs/Makefile.am
index ca7a2ec260..f37417cafb 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -163,7 +163,6 @@ schemadir = $(pkgdatadir)/schemas
schema_DATA = $(wildcard $(srcdir)/schemas/*.rng)
EXTRA_DIST= \
- apibuild.py \
site.xsl subsite.xsl newapi.xsl page.xsl \
wrapstring.xsl \
$(dot_html_in) $(gif) $(apipng) \
@@ -278,13 +277,13 @@ python_generated_files = \
libvirt-admin-refs.xml \
$(NULL)
-APIBUILD=$(srcdir)/apibuild.py
+APIBUILD=$(top_srcdir)/scripts/apibuild.py
APIBUILD_STAMP=apibuild.py.stamp
CLEANFILES += $(APIBUILD_STAMP)
$(python_generated_files): $(APIBUILD_STAMP)
-$(APIBUILD_STAMP): $(srcdir)/apibuild.py \
+$(APIBUILD_STAMP): $(top_srcdir)/scripts/apibuild.py \
$(top_srcdir)/include/libvirt/libvirt.h \
$(top_srcdir)/include/libvirt/libvirt-common.h.in \
$(top_srcdir)/include/libvirt/libvirt-domain-checkpoint.h \
diff --git a/docs/apibuild.py b/scripts/apibuild.py
similarity index 100%
rename from docs/apibuild.py
rename to scripts/apibuild.py
--
2.21.0