The make rule 'abi-check' verifies that the ABI remained compatible since
-the last tagged release. It relies on the git tree and abi-compliance-checker.
+the last tagged release. It relies on the git tree and libabigail.
The above do not apply to the C++ library; this library's ABI should not
be considered stable.
files-update', review the output (when feasible) and commit it separately,
e.g., with a message: "auto-generated files update".
+ The 'files-update' rule also regenerates the ABI dump files (.abi), used by
+the 'abi-check' rule to ensure library ABI compatibility. To make it easier
+to track actual changes to be made in those files, a git external diff
+driver is provided as `devel/git-abidiff-gnutls`. See the comment in the
+file for the instruction.
+
# Guile bindings:
--- /dev/null
+#!/bin/sh
+
+# This is a diff driver that works on the .abi files during GnuTLS
+# development. To use, copy this file to ~/.local/bin and issue the
+# following command to update your git configuration:
+#
+# git config diff.abi.command ~/.local/bin/git-abidiff-gnutls
+
+top_srcdir=$(git rev-parse --show-toplevel)
+bold=$(tput bold)
+normal=$(tput sgr0)
+
+echo "${bold}$1${normal}"
+abidiff --suppressions "$top_srcdir/devel/libgnutls.abignore" \
+ --hd2 "$top_srcdir/lib/includes/gnutls/" \
+ "$2" "$5" || :