build/gnu: Support compressing non-numeric man sections.

* guix/build/gnu-build-system.scm (compress-documentation)
  [maybe-compress]: Expand regex to include man sections with alphabetic
  suffixes.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Lilah Tascheter 2022-10-19 10:27:26 -05:00 committed by Ludovic Courtès
parent 6667139960
commit 1d16506c32
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -728,7 +728,7 @@ (define (maybe-compress-directory directory regexp
(define (maybe-compress output)
(maybe-compress-directory (string-append output "/share/man")
"\\.[0-9]+$"
"\\.[0-9]+[:alpha:]*$"
man-compressor
man-compressor-flags
man-compressor-file-extension)