]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: move reformat-news.py to the scripts/ directory
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 8 Oct 2019 10:19:30 +0000 (11:19 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 4 Dec 2019 11:42:04 +0000 (11:42 +0000)
Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Makefile.am
scripts/reformat-news.py [moved from docs/reformat-news.py with 100% similarity]

index 5a96f27f76dab01db84372b11df5a8e48b08b895..8fa2eaf7a39fe5cff44a1feb05610c3040668d7d 100644 (file)
@@ -61,6 +61,7 @@ EXTRA_DIST = \
   scripts/minimize-po.py \
   scripts/mock-noinline.py \
   scripts/prohibit-duplicate-header.py \
+  scripts/reformat-news.py \
   build-aux/syntax-check.mk \
   build-aux/useless-if-before-free \
   build-aux/vc-list-files \
@@ -75,7 +76,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 \
@@ -83,14 +84,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)