Re: git: 5a5db32f4a - main - Fix build after c8e8be58e580

From: Warner Losh <imp_at_bsdimp.com>
Date: Thu, 07 Oct 2021 21:05:24 UTC
On Thu, Oct 7, 2021 at 2:54 PM Danilo G. Baio <dbaio@freebsd.org> wrote:

> On Thu, Oct 07, 2021 at 09:22:56AM -0700, John Baldwin wrote:
> > On 10/6/21 4:59 PM, Danilo G. Baio wrote:
> > > The branch main has been updated by dbaio:
> > >
> > > URL:
> https://cgit.FreeBSD.org/doc/commit/?id=5a5db32f4a1e3f507cdc55f92d53e63adbb4f022
> > >
> > > commit 5a5db32f4a1e3f507cdc55f92d53e63adbb4f022
> > > Author:     Danilo G. Baio <dbaio@FreeBSD.org>
> > > AuthorDate: 2021-10-06 23:57:27 +0000
> > > Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
> > > CommitDate: 2021-10-06 23:57:27 +0000
> > >
> > >      Fix build after c8e8be58e580
> >
> > It used to be possible to use 'make' in individual books or articles to
> test
> > things, and also to only build just html versions and not be required to
> > build PDF.  Apparently our new system doesn't permit either of those, so
> I
> > gave up on trying to test this pre-commit.
> >
> > --
> > John Baldwin
>
>
> To speed up the build time (right now), you can build only English HTML
> documentation this way:
>
> $ cd documentation
> $ DOC_LANG="en" make
>
>   14 seconds here
>   against 2 minutes for all languages.
>
> The `make run` also helps as pointed by Sergio.
>

I use 'make run' all the time and love it. I get to tweak things until they
look right before I commit. And the time it takes to run is less than a
full kernel build the first time, then instant for each change after that
(each time I save in emacs, it rebuilds). I'll have to use this trick,
though, since that would make it even better.

Warner