aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLilah Tascheter <lilah@lunabee.space>2022-10-19 10:27:26 -0500
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:35 +0200
commit1d16506c325c012d1d6328edbd5d1915729d01eb (patch)
treeec8ec52fbffcdb521b3789418f4736d1bd48fdb4
parent6667139960eb68d911e99fedec3043bb49111a8d (diff)
downloadguix-1d16506c325c012d1d6328edbd5d1915729d01eb.tar.gz
guix-1d16506c325c012d1d6328edbd5d1915729d01eb.zip
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>
-rw-r--r--guix/build/gnu-build-system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index 2f0ffe36fc..0b94416a8d 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -728,7 +728,7 @@ MAN-COMPRESSOR, using MAN-COMPRESSOR-FLAGS."
(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)