diff options
author | Eric Wong <e@80x24.org> | 2023-07-27 21:18:54 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-07-27 23:23:07 +0000 |
commit | 2f3dc31d07369957efcec8be36158e73bdbd1844 (patch) | |
tree | cdbb9d11f56e211c1760785d137c5bb742c7f19b /Makefile.PL | |
parent | 590023f6c3289810539b0994fd5c3216d81c9259 (diff) | |
download | public-inbox-2f3dc31d07369957efcec8be36158e73bdbd1844.tar.gz |
When checking line length limits, the `length()' function of mawk doesn't count non-ASCII characters properly in UTF-8 locales. Force the man(1) output to use C locale and use normal `-' instead of multi-byte dash characters.
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL index 579245a1..710d705d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -81,7 +81,7 @@ for my $i (@sections) { $t->{"Documentation/$m.html : $txt"} = [ "\$(txt2pre) <$txt", "touch -r $txt \$@" ]; $t->{".$m.cols : $m.$i"} = [ - "\@echo CHECK80 $m.$i;". + "\@echo CHECK80 $m.$i; LC_ALL=C LANG=C ". "COLUMNS=80 \$(MAN) ./$m.$i | \$(check_man)", '>$@' ]; $t->{".$m.lexgrog: $m.$i"} = [ |