Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
Makefile.am | 7 ++++---
{docs => scripts}/reformat-news.py | 0
2 files changed, 4 insertions(+), 3 deletions(-)
rename {docs => scripts}/reformat-news.py (100%)
diff --git a/Makefile.am b/Makefile.am
index 67d07eff41..8359ebc6ad 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,6 +66,7 @@ EXTRA_DIST = \
scripts/minimize-po.py \
scripts/mock-noinline.py \
scripts/prohibit-duplicate-header.py \
+ scripts/reformat-news.py \
scripts/test-wrap-argv.py \
build-aux/syntax-check.mk \
build-aux/useless-if-before-free \
@@ -81,7 +82,7 @@ pkgconfig_DATA = libvirt.pc libvirt-qemu.pc libvirt-lxc.pc
libvirt-admin.pc
NEWS: \
$(srcdir)/docs/news.xml \
$(srcdir)/docs/news-ascii.xsl \
- $(srcdir)/docs/reformat-news.py
+ $(top_srcdir)/scripts/reformat-news.py
$(AM_V_GEN) \
if [ -x $(XSLTPROC) ]; then \
$(XSLTPROC) --nonet \
@@ -89,14 +90,14 @@ NEWS: \
$(srcdir)/docs/news.xml \
$@-tmp \
|| { rm -f $@-tmp; exit 1; }; \
- $(RUNUTF8) $(PYTHON) $(srcdir)/docs/reformat-news.py $@-tmp >$@ \
+ $(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/reformat-news.py $@-tmp >$@ \
|| { rm -f $@-tmp; exit 1; }; \
rm -f $@-tmp; \
fi
EXTRA_DIST += \
$(srcdir)/docs/news.xml \
$(srcdir)/docs/news-ascii.xsl \
- $(srcdir)/docs/reformat-news.py
+ $(NULL)
rpm: clean
@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.xz)
diff --git a/docs/reformat-news.py b/scripts/reformat-news.py
similarity index 100%
rename from docs/reformat-news.py
rename to scripts/reformat-news.py
--
2.21.0