summaryrefslogtreecommitdiff
path: root/maint
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-06-24 13:41:27 +0100
committerSimon McVittie <smcv@collabora.com>2022-07-13 20:36:13 +0100
commit9a64c6c095562a35bd8bc319fdf858b4d6614850 (patch)
tree351c76a6467d63689974f4a37c22de643bc28b57 /maint
parent6e5f42be4dc408dc2354760b213c6172fe887671 (diff)
downloaddbus-9a64c6c095562a35bd8bc319fdf858b4d6614850.tar.gz
build: Make update-authors convenience target runnable from Meson
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'maint')
-rwxr-xr-xmaint/update-authors.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/maint/update-authors.sh b/maint/update-authors.sh
new file mode 100755
index 00000000..9718811e
--- /dev/null
+++ b/maint/update-authors.sh
@@ -0,0 +1,11 @@
+# Copyright 2010 Lennart Poettering
+# Copyright 2022 Simon McVittie
+# SPDX-License-Identifier: MIT
+
+set -eux
+
+if [ -n "${MESON_SOURCE_ROOT-}" ]; then
+ cd "${MESON_SOURCE_ROOT}"
+fi
+
+git shortlog -s -e | cut -c 8- | sort > AUTHORS