From 9a64c6c095562a35bd8bc319fdf858b4d6614850 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 24 Jun 2022 13:41:27 +0100 Subject: build: Make update-authors convenience target runnable from Meson Signed-off-by: Simon McVittie --- maint/update-authors.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 maint/update-authors.sh (limited to 'maint') 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 -- cgit v1.2.1