chiark / gitweb /
Support system_bus_socket to be found in /var/run/dbus as well as /run/dbus.
[elogind.git] / tools / meson-check-api-docs.sh
1 #!/bin/sh
2
3 set -eu
4
5 for symbol in `nm -g --defined-only "$@" | grep " T " | cut -d" " -f3 | sort -u` ; do
6         if test -f ${MESON_BUILD_ROOT}/man/$symbol.3 ; then
7                 echo "✓ Symbol $symbol() is documented."
8         else
9                 printf "  \x1b[1;31mSymbol $symbol() lacks documentation.\x1b[0m\n"
10         fi
11 done