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

From:
Omar Polo <op@omarpolo.com>
Subject:
makefile: simplify cvg' SUBDIR if/elif
To:
gameoftrees@openbsd.org
Date:
Sun, 23 Jul 2023 16:01:59 +0200

Download raw body.

Thread
objections?

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