mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-26 23:08:16 +08:00
meson: autogenerate AUTHORS
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -64,3 +64,15 @@ require_cmd ronn
|
||||
for page in ocserv.8 occtl.8 ocpasswd.8; do
|
||||
ronn --roff "$DISTROOT/doc/${page}.md" -o "$DISTROOT/doc"
|
||||
done
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# AUTHORS (generated from git history)
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
require_cmd git
|
||||
SRCROOT="${MESON_PROJECT_SOURCE_ROOT:-$MESON_SOURCE_ROOT}"
|
||||
printf "The authors list is autogenerated from the git history; sorted by number of commits\n\n" \
|
||||
> "$DISTROOT/AUTHORS"
|
||||
git -C "$SRCROOT" shortlog -sen | cut -f2 | sed 's/@/ at /g' \
|
||||
>> "$DISTROOT/AUTHORS"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user