2c3632d14f
Lots of code refactoring, simplification and cleanup. Lots of new unit-tests providing much higher code coverage. All courtesy of rillig at netbsd. Other significant changes: o new read-only variable .SHELL which provides the path of the shell used to run scripts (as defined by the .SHELL target). o variable parsing detects more errors. o new debug option -dl: LINT mode, does the equivalent of := for all variable assignments so that file and line number are reported for variable parse errors.
11 lines
351 B
Makefile
11 lines
351 B
Makefile
# $NetBSD: varmod-range.mk,v 1.3 2020/08/23 15:13:21 rillig Exp $
|
|
#
|
|
# Tests for the :range variable modifier, which generates sequences
|
|
# of integers from the given range.
|
|
|
|
all:
|
|
@echo ${a b c:L:rang} # modifier name too short
|
|
@echo ${a b c:L:range} # ok
|
|
@echo ${a b c:L:rango} # misspelled
|
|
@echo ${a b c:L:ranger} # modifier name too long
|