"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: makefile: simplify cvg' SUBDIR if/elif
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Sun, 23 Jul 2023 16:16:57 +0200

Download raw body.

Thread
On Sun, Jul 23, 2023 at 04:01:59PM +0200, Omar Polo wrote:
> objections?

None, go ahead.

> diff /home/op/w/got
> commit - 9e0b562498af93589bef778858099a8a1a33e252
> path + /home/op/w/got
> blob - c2a52245624c2d842802ae06bacb88195aca64ea
> file + Makefile
> --- Makefile
> +++ Makefile
> @@ -16,10 +16,8 @@ SUBDIR += lib
>  
>  .include "got-version.mk"
>  
> -.if "${GOT_RELEASE}" != "Yes"
> +.if "${GOT_RELEASE}" != "Yes" || make(clean) || make(obj)
>  SUBDIR += cvg
> -.elif make(clean) || make(obj)
> -SUBDIR += cvg
>  .endif
>  
>  release: clean
> 
>