mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
![Simon J. Gerraty](/assets/img/avatar_default.png)
Lots of new unit-tests increase code coverage. Lots of refactoring, cleanup and simlpification to reduce code size. Fixes for Bug 223564 and 245807 Updates to dirdeps.mk and meta2deps.py
20 lines
609 B
Makefile
Executable file
20 lines
609 B
Makefile
Executable file
# $NetBSD: lint.mk,v 1.3 2020/09/15 16:22:04 rillig Exp $
|
|
#
|
|
# Demonstrates stricter checks that are only enabled in the lint mode,
|
|
# using the -dL option.
|
|
|
|
# Ouch: as of 2020-08-03, make exits successfully even though the error
|
|
# message has been issued as PARSE_FATAL.
|
|
|
|
# Ouch: as of 2020-08-03, the variable is malformed and parsing stops
|
|
# for a moment, but is continued after the wrongly-guessed end of the
|
|
# variable, which echoes "y@:Q}".
|
|
|
|
.MAKEFLAGS: -dL
|
|
|
|
all: mod-loop-varname
|
|
|
|
mod-loop-varname:
|
|
@echo ${VAR:Uvalue:@${:Ubar:S,b,v,}@x${var}y@:Q}
|
|
@echo ${VAR:Uvalue:@!@x$!y@:Q} # surprisingly allowed
|