From 1bd119d2fd5528d5faff153080b0006082bd5b16 Mon Sep 17 00:00:00 2001 From: Daniel Fojt Date: Thu, 4 Jun 2020 09:01:24 +0200 Subject: [PATCH] build.7: mention "build-all" and "install-all" targets Describe "build-all" and "install-all" targets in both Makefile and build(7). Submitted by: Pierre-Alain TORET Issue: https://bugs.dragonflybsd.org/issues/3229 --- Makefile | 3 +++ share/man/man7/build.7 | 15 ++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c8233df16c..e9bac42aee 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,9 @@ # the installworld. # upgrade - Upgrade the files in /etc and also setup the rest # of the system for DragonFly. ex. two compilers. +# build-all - Runs buildworld and buildkernel both with -j hw.ncpu +# install-all - Runs installkernel, installworld and upgrade all with +# -j 1 # initrd - Install the statically linked rescue tools and the # initrd image built by "buildworld". # backupworld - Copy /bin /sbin /usr/bin /usr/sbin /usr/lib diff --git a/share/man/man7/build.7 b/share/man/man7/build.7 index d623d4bbb9..5ed9e8ec3b 100644 --- a/share/man/man7/build.7 +++ b/share/man/man7/build.7 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD: src/share/man/man7/build.7,v 1.19.2.1 2002/03/18 08:33:02 murray Exp $ .\" -.Dd November 23, 2018 +.Dd June 4, 2020 .Dt BUILD 7 .Os .Sh NAME @@ -120,7 +120,7 @@ the normal doesn't work. .It Cm world .Cm buildworld + -.Cm installworld . +.Cm installworld .It Cm buildkernel Rebuild the kernel and the kernel-modules. .It Cm nativekernel @@ -142,7 +142,16 @@ Install the kernel and the kernel-modules. Reinstall the kernel and the kernel-modules. .It Cm kernel .Cm buildkernel + -.Cm installkernel . +.Cm installkernel +.It Cm build-all +.Cm buildworld + +.Cm buildkernel +.Pp +The option -j hw.ncpu is added automatically to optimally utilize the system. +.It Cm install-all +.Cm installkernel + +.Cm installworld + +.Cm upgrade .It Cm preupgrade Perform certain upgrades that have to be done before .Cm installworld , -- 2.41.0