about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-05-04 04:15:44 +0000
committerEric Wong <e@80x24.org>2021-05-04 04:17:10 +0000
commiteb99e6d0a50ba2e03870b21b165e37a64ce745bd (patch)
treedb2f229f03391c5b00e5004479ab72b65a3854cc /Documentation
parent0b15dfc58ceaecdcb1c9285c3ad55813006c8338 (diff)
downloadpublic-inbox-eb99e6d0a50ba2e03870b21b165e37a64ce745bd.tar.gz
This failure was also passing under FreeBSD make + /bin/sh;
so we also avoid the '&&' chain is avoided and use '>$@' as a
separate line in the Makefile.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/include.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/include.mk b/Documentation/include.mk
index 79bf460d..5f3ffcc5 100644
--- a/Documentation/include.mk
+++ b/Documentation/include.mk
@@ -52,8 +52,9 @@ install-man: man
 doc_install :: install-man
 
 check :: check-man
-check_man = $(AWK) '{gsub(/\b./,"")}length>80{print;err=1}END{exit(err)}'\
-        >&2 && >$@
+check_man = $(AWK) \
+        '{gsub(/\b./,"")}$$0 !~ /\.onion/&&length>80{print;e=1}END{exit(e)}' \
+        >&2
 
 check-man :: $(check_80)