Pass the name of the compressor actually used for sets to groff and use

it in the content description (XXX need to adapt a few more copies in,
as of now, unaffected architectures)
This commit is contained in:
martin 2020-06-23 06:28:01 +00:00
parent 7ee9bc8a0e
commit 4a198ac36d
6 changed files with 24 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.55 2020/06/16 00:45:56 christos Exp $ # $NetBSD: Makefile.inc,v 1.56 2020/06/23 06:28:01 martin Exp $
# #
# Ross Harvey <ross@NetBSD.org> # Ross Harvey <ross@NetBSD.org>
@ -36,8 +36,10 @@ PRESET= ${GFLAGS} -U -dM=${M} -dV=${DISTRIBVER} -d.CURDIR=${.CURDIR} -r${M}=1
PRESET+= -rmajor=${DISTRIBVER:C/\..*$//} PRESET+= -rmajor=${DISTRIBVER:C/\..*$//}
.if ${USE_XZ_SETS:Uno} == "yes" .if ${USE_XZ_SETS:Uno} == "yes"
PRESET+= -dsetsuffix=tar.xz PRESET+= -dsetsuffix=tar.xz
PRESET+= -dcompressor=xz
.else .else
PRESET+= -dsetsuffix=tgz PRESET+= -dsetsuffix=tgz
PRESET+= -dcompressor=gzip
.endif .endif
.if ${NETBSD_OFFICIAL_RELEASE:Uno} == "yes" .if ${NETBSD_OFFICIAL_RELEASE:Uno} == "yes"
PRESET+= -rFOR_RELEASE=1 PRESET+= -rFOR_RELEASE=1

View File

@ -1,4 +1,4 @@
.\" $NetBSD: contents,v 1.21 2020/06/22 12:03:46 maya Exp $ .\" $NetBSD: contents,v 1.22 2020/06/23 06:28:02 martin Exp $
.\" .\"
.\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc. .\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -309,7 +309,9 @@ The X server.
.\" XXX: should be in notes/common .\" XXX: should be in notes/common
. .
.Pp .Pp
The \*M binary distribution sets are distributed as xzipped tar files The \*M binary distribution sets are distributed as tar files
compressed with
.Sy \*[compressor]
named with the extension named with the extension
.Sy .\*[setsuffix] , .Sy .\*[setsuffix] ,
e.g. e.g.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: contents,v 1.10 2020/06/22 12:03:47 maya Exp $ .\" $NetBSD: contents,v 1.11 2020/06/23 06:28:02 martin Exp $
.\" .\"
.\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc. .\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -245,7 +245,9 @@ This includes the modular X.Org server.
.\" .\"
. .
.Pp .Pp
The \*M binary distribution sets are distributed as xzipped tar files The \*M binary distribution sets are distributed as tar files
compressed with
.Sy \*[compressor]
named with the extension named with the extension
.Sy .\*[setsuffix] .Sy .\*[setsuffix]
.Pq e.g., Pa base.\*[setsuffix] . .Pq e.g., Pa base.\*[setsuffix] .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: contents,v 1.180 2019/11/24 11:15:33 martin Exp $ .\" $NetBSD: contents,v 1.181 2020/06/23 06:28:02 martin Exp $
.\" .\"
.\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc. .\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -965,7 +965,9 @@ servers with man pages and the runtime configuration file.
. .
. .
.Pp .Pp
The \*M binary distribution sets are distributed as gzipped tar files The \*M binary distribution sets are distributed as tar files
compressed with
.Sy \*[compressor]
named with the extension named with the extension
.Sy .\*[setsuffix] , .Sy .\*[setsuffix] ,
e.g. e.g.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: contents,v 1.7 2020/06/22 12:03:47 maya Exp $ .\" $NetBSD: contents,v 1.8 2020/06/23 06:28:02 martin Exp $
.\" .\"
.\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc. .\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -259,8 +259,10 @@ The X server.
.\" XXX: should be in notes/common .\" XXX: should be in notes/common
. .
.Pp .Pp
The \*M binary distribution sets are distributed as gzipped or xzipped The \*M binary distribution sets are distributed as tar files
tar files named with the extension compressed with
.Sy \*[compressor]
named with the extension
.Sy .\*[setsuffix] , .Sy .\*[setsuffix] ,
e.g. e.g.
.Pa base.\*[setsuffix] . .Pa base.\*[setsuffix] .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: contents,v 1.10 2020/06/22 12:03:47 maya Exp $ .\" $NetBSD: contents,v 1.11 2020/06/23 06:28:02 martin Exp $
.\" .\"
.\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc. .\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -295,7 +295,9 @@ This includes the modular Xorg and Xvfb servers.
.\" XXX: should be in notes/common .\" XXX: should be in notes/common
. .
.Pp .Pp
The \*M binary distribution sets are distributed as xzipped tar files The \*M binary distribution sets are distributed as tar files
compressed with
.Sy \*[compressor]
named with the extension named with the extension
.Sy .\*[setsuffix] , .Sy .\*[setsuffix] ,
e.g., e.g.,