summaryrefslogtreecommitdiff
path: root/regress/make-quoting/files/newline.mk
blob: ff8ab8291b36a8762b977ba6335c6a807fc2738a (plain)
1
2
3
4
5
6
7
8
9
10
11
# $NetBSD: newline.mk,v 1.1 2006/06/29 13:35:18 rillig Exp $
#
# This file documents a bug in the :Q operator, which does not handle
# the newline character correctly. It produces <backslash><newline>
# instead of the proper <quote><newline><quote>.
#

S=	foo ${.newline} bar

all:
	printf "%s\\n" ${S:Q}