about summary refs log tree commit homepage
path: root/Documentation/include.mk
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-10-17 08:10:27 +0000
committerEric Wong <e@80x24.org>2019-10-17 08:10:27 +0000
commiteb424226f3bc1d4a05d1b3900634fadb2ee2c140 (patch)
tree57d393414c7b5a17d1542030e96a1b5b05b94d81 /Documentation/include.mk
parentfdd53dc5496ceb7587065a0f0d368d7be1fd113d (diff)
downloadpublic-inbox-eb424226f3bc1d4a05d1b3900634fadb2ee2c140.tar.gz
man(1) on FreeBSD supports pathnames as operands just
fine, so there's hope other BSDs follow suit and we
can enable this check target everywhere.
Diffstat (limited to 'Documentation/include.mk')
-rw-r--r--Documentation/include.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/include.mk b/Documentation/include.mk
index 07b9f2a3..1460604d 100644
--- a/Documentation/include.mk
+++ b/Documentation/include.mk
@@ -13,7 +13,6 @@ MAN = man
 
 # this is "xml" on FreeBSD and maybe some other distros:
 XMLSTARLET = xmlstarlet
-AWK = awk
 
 # same as pod2text
 COLUMNS = 76
@@ -89,9 +88,7 @@ doc_install :: install-man
 %.1 %.5 %.7 %.8 : Documentation/%.pod
         $(podman) -s $(subst .,,$(suffix $@)) $< $@+ && mv $@+ $@
 
-# n.b. not sure if our usage of man(1) is portable or not, so not
-# enabled by default "check" target:
-# check :: check-man
+check :: check-man
 check_man = @echo CHECK80 $<;COLUMNS=80 $(MAN) ./$^ | \
         $(AWK) '{gsub(/\b./,"")}length>80{print;err=1}END{exit(err)}' >&2