aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-03-16 06:11:56 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2021-03-16 06:13:09 +0000
commitc7e6cb9e08d6b51e677a9f5546b8e36d678687d0 (patch)
treec6a1eacd647ec9a89b49d6996a395fc68482895c /release
parent500f4659d7c8947082dba040a1d58e7d228f8d44 (diff)
downloadsrc-c7e6cb9e08d6b51e677a9f5546b8e36d678687d0.tar.gz
src-c7e6cb9e08d6b51e677a9f5546b8e36d678687d0.zip
pkgbase: Add an src.conf option for splitting man pages
Man pages can be big in total, add an options to split man pages in -man packages so we produce smaller packages. This is useful for small jails or mfsroot produced of pkgbase. The option is off by default. Reviewed by: bapt, Mina Galić <me@igalic.co> Differential Revision: https://reviews.freebsd.org/D29169 MFC after: 2 weeks
Diffstat (limited to 'release')
-rwxr-xr-xrelease/packages/generate-ucl.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/release/packages/generate-ucl.sh b/release/packages/generate-ucl.sh
index e900f9991912..67c10e485eb7 100755
--- a/release/packages/generate-ucl.sh
+++ b/release/packages/generate-ucl.sh
@@ -71,6 +71,11 @@ main() {
_descr="Debugging Symbols"
pkgdeps="${outname}"
;;
+ *_man)
+ outname="${outname%%_man}"
+ _descr="Manual Pages"
+ pkgdeps="${outname}"
+ ;;
${origname})
pkgdeps="runtime"
;;