Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 291 Bytes

error-if-blank.md

File metadata and controls

24 lines (15 loc) · 291 Bytes

bmakelib.error-if-blank

Fails make with an error message if the provided variable is blank.

Example

Makefile:

VAR1 =
VAR2 = 100
some-target : bmakelib.error-if-blank( VAR1 VAR2 )

Shell:

$ make some-target
*** Provide value for 'VAR1'.  Stop.