aboutsummaryrefslogtreecommitdiff
path: root/aux
diff options
context:
space:
mode:
Diffstat (limited to 'aux')
-rw-r--r--aux/workflow/assert-manpages.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/aux/workflow/assert-manpages.sh b/aux/workflow/assert-manpages.sh
index fa97298..add7f47 100644
--- a/aux/workflow/assert-manpages.sh
+++ b/aux/workflow/assert-manpages.sh
@@ -52,6 +52,10 @@ EOF
# shellcheck disable=2044
for f in $(find doc -type f -name '*.[0-9]'); do
+ LINES="$(wc -l "$f" | cut -d\ -f1)"
+ if [ "$LINES" = 1 ] && grep -Eq '^\.so man.+$' "$f"; then
+ continue
+ fi
if ! tail -n "$(wc -l < "$EXPECTED")" "$f" | diff - "$EXPECTED"; then
echo "Missing metadata at the end of \"$f\" file"
if [ "$IN_PLACE" = true ]; then