On 2022/10/12 10:45:49 +0000, Klemens Nanni <k...@openbsd.org> wrote:
> Anyone willing to OK either the previous NetBSD/FreeBSD sync diff or the
> following minimal one which just mentions missing types?
> 
> We can always improve from there, but being stuck at an incomplete and
> thus misleading manual sucks.

agreed, and fwiw i think it's important to document when variable
substitution occurs.  ok for me, but please fix the typo:

> Index: make.1
> ===================================================================
> RCS file: /cvs/src/usr.bin/make/make.1,v
> retrieving revision 1.131
> diff -u -p -r1.131 make.1
> --- make.1    26 Jan 2020 12:40:50 -0000      1.131
> +++ make.1    30 Dec 2020 17:36:54 -0000
> @@ -600,9 +600,9 @@ If the variable name contains only a sin
>  braces or parentheses are not required.
>  This shorter form is not recommended.
>  .Pp
> -Variable substitution occurs at two distinct times, depending on where
> -the variable is being used.
> -Variables in dependency lines are expanded as the line is read.
> +Variable substitution occurs at distinct times, depending on the type of 
> line.
> +Variables in dependency lines, conditinal directives and include statements 
> are
                                  ^^^^^^^^^^

> +expanded as the line is read.
>  Variables in shell commands are expanded when the shell command is
>  executed.
>  .Pp


Reply via email to