Like NEWS, this was very close to being a valid Markdown document
before, and now it's a valid reStructuredText one.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
AUTHORS.in | 16 ----------------
AUTHORS.rst.in | 17 +++++++++++++++++
libvirt-dbus.spec.in | 2 +-
meson.build | 6 +++---
tools/gen-authors.sh | 2 +-
5 files changed, 22 insertions(+), 21 deletions(-)
delete mode 100644 AUTHORS.in
create mode 100644 AUTHORS.rst.in
diff --git a/AUTHORS.in b/AUTHORS.in
deleted file mode 100644
index d5a486e..0000000
--- a/AUTHORS.in
+++ /dev/null
@@ -1,16 +0,0 @@
- libvirt-dbus Authors
- ====================
-
-The libvirt-dbus project was started by:
-
- Lars Karlitski <lars(a)karlitski.net>
- Pavel Hrdina <phrdina(a)redhat.com>
-
-The primary maintainers of libvirt-dbus are:
-
- Katerina Koukiou <kkoukiou(a)redhat.com>
- Pavel Hrdina <phrdina(a)redhat.com>
-
-Patches have been received from:
-
-@contributorslist@
diff --git a/AUTHORS.rst.in b/AUTHORS.rst.in
new file mode 100644
index 0000000..1087b73
--- /dev/null
+++ b/AUTHORS.rst.in
@@ -0,0 +1,17 @@
+====================
+libvirt-dbus Authors
+====================
+
+The libvirt-dbus project was started by:
+
+* Lars Karlitski <lars(a)karlitski.net>
+* Pavel Hrdina <phrdina(a)redhat.com>
+
+The primary maintainers of libvirt-dbus are:
+
+* Katerina Koukiou <kkoukiou(a)redhat.com>
+* Pavel Hrdina <phrdina(a)redhat.com>
+
+Patches have been received from:
+
+@contributorslist@
diff --git a/libvirt-dbus.spec.in b/libvirt-dbus.spec.in
index a9fdd0c..175910e 100644
--- a/libvirt-dbus.spec.in
+++ b/libvirt-dbus.spec.in
@@ -50,7 +50,7 @@ getent passwd %{system_user} >/dev/null || \
exit 0
%files
-%doc AUTHORS NEWS.rst
+%doc AUTHORS.rst NEWS.rst
%license COPYING
%{_sbindir}/libvirt-dbus
%{_datadir}/dbus-1/services/org.libvirt.service
diff --git a/meson.build b/meson.build
index b293b8c..7518e94 100644
--- a/meson.build
+++ b/meson.build
@@ -256,11 +256,11 @@ if git
authors = run_command('tools/gen-authors.sh')
configure_file(
configuration: { 'contributorslist': authors.stdout() },
- input: 'AUTHORS.in',
- output: 'AUTHORS',
+ input: 'AUTHORS.rst.in',
+ output: 'AUTHORS.rst',
)
- foreach file : [ 'libvirt-dbus.spec', 'AUTHORS' ]
+ foreach file : [ 'libvirt-dbus.spec', 'AUTHORS.rst' ]
meson.add_dist_script('tools/dist.sh', meson.build_root(), file)
endforeach
endif
diff --git a/tools/gen-authors.sh b/tools/gen-authors.sh
index eb39215..bf0a3b6 100755
--- a/tools/gen-authors.sh
+++ b/tools/gen-authors.sh
@@ -1,4 +1,4 @@
#!/bin/sh
cd $MESON_SOURCE_ROOT
-git log --pretty=format:' %aN <%aE>' | sort -u
+git log --pretty=format:'* %aN <%aE>' | sort -u
--
2.25.3