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)
o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable checks in InitObjdir. Explicit .OBJDIR target always allows read-only directory. o Fix building and unit-tests on non-BSD. o More code cleanup and refactoring. o More unit tests
22 lines
406 B
Makefile
22 lines
406 B
Makefile
# $NetBSD: varmod-to-lower.mk,v 1.5 2020/11/15 20:20:58 rillig Exp $
|
|
#
|
|
# Tests for the :tl variable modifier, which returns the words in the
|
|
# variable value, converted to lowercase.
|
|
#
|
|
# TODO: What about non-ASCII characters? ISO-8859-1, UTF-8?
|
|
|
|
.if ${:UUPPER:tl} != "upper"
|
|
. error
|
|
.endif
|
|
|
|
.if ${:Ulower:tl} != "lower"
|
|
. error
|
|
.endif
|
|
|
|
.if ${:UMixeD case.:tl} != "mixed case."
|
|
. error
|
|
.endif
|
|
|
|
all:
|
|
@:;
|