mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-01 09:07:58 +02:00
build: Make update-authors convenience target runnable from Meson
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
6e5f42be4d
commit
9a64c6c095
3 changed files with 19 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ EXTRA_DIST = \
|
|||
all-local: Doxyfile
|
||||
|
||||
update-authors:
|
||||
( cd $(srcdir) && git shortlog -s -e ) | cut -c 8- | sort > $(srcdir)/AUTHORS
|
||||
cd $(srcdir) && ./maint/update-authors.sh
|
||||
|
||||
DISTCHECK_CONFIGURE_FLAGS = \
|
||||
--enable-xml-docs \
|
||||
|
|
|
|||
11
maint/update-authors.sh
Executable file
11
maint/update-authors.sh
Executable file
|
|
@ -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
|
||||
|
|
@ -950,6 +950,13 @@ bonus_files = files(
|
|||
'README',
|
||||
)
|
||||
|
||||
if platform_unix
|
||||
run_target(
|
||||
'maintainer-update-authors',
|
||||
command: 'maint/update-authors.sh',
|
||||
)
|
||||
endif
|
||||
|
||||
subdir('dbus')
|
||||
subdir('bus')
|
||||
subdir('tools')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue