c98f603243
styles stay valid when updating the pkgsrc make(1) program. The test cases also serve as kind of demonstration how things work inside make(1).
16 lines
310 B
Makefile
16 lines
310 B
Makefile
# $NetBSD: sglquote.mk,v 1.1.1.1 2005/05/15 21:10:16 rillig Exp $
|
|
#
|
|
# This file demonstrates the differences between single and double
|
|
# quotes.
|
|
#
|
|
|
|
STR_1= '\''\''a b' 'z'
|
|
STR_2= "\""\""a b" "z"
|
|
|
|
all:
|
|
echo ${STR_1}
|
|
echo ${STR_1:Q}
|
|
echo ${STR_1:M*:Q}
|
|
echo ${STR_2}
|
|
echo ${STR_2:Q}
|
|
echo ${STR_2:M*:Q}
|