[bug #63737] Add --fail-on-undefined-variables
Bahman Movaqar <[email protected]> Thu, 30 Apr 2026 18:10:46 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Message-ID | <[email protected]> |
--8323329-1189641421-1777587046=:1281028 Content-Type: TEXT/plain; CHARSET=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Disposition: inline Follow-up Comment #4, bug #63737 (group make):=0A=0ANot a direct answer, bu= t have you looked at "libraries" that may satisfy that=0Arequirement?=0A=0A= For instance, using 'bmakelib', the following snippet would fail as soon as= =0Ayou try to run 'my-target' if 'VAR1' has is not set.=0A=0A=0A include= bmakelib/bmakelib.mk=0A =0A my-target : bmakelib.error-if-blank( VAR= 1 )=0A my-target :=0A=09 @echo =E2=9C=85 VAR1 value is $(VAR1)=0A=0AS= ee https://github.com/bahmanm/bmakelib=0A=0APS: I'm the author :-)=0A=0A=0A= =0A=0A _______________________________________________________=0A=0ARepl= y to this item at:=0A=0A <https://savannah.gnu.org/bugs/?63737>=0A=0A_____= __________________________________________=0AMessage sent via Savannah=0Aht= tps://savannah.gnu.org/=0A --8323329-1189641421-1777587046=:1281028 Content-Type: APPLICATION/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCafPTZgAKCRCqLAuaBUf3 TitHAP9EFBmJWpRi+SQ7YAf0ZrhVeZuI10BQCJ52ZefbdsobQQD8DKqTjDBx5c6W fgJ4qAweegm5JW3ZvnD1RDcKxZUt4QQ= =cDQr -----END PGP SIGNATURE----- --8323329-1189641421-1777587046=:1281028--