Home | History | Annotate | Line # | Download | only in unit-tests
varmod-quote-dollar.mk revision 1.3
      1  1.3  rillig # $NetBSD: varmod-quote-dollar.mk,v 1.3 2022/01/22 17:10:51 rillig Exp $
      2  1.1  rillig #
      3  1.2  rillig # Tests for the :q variable modifier, which quotes the string for the shell
      4  1.2  rillig # and doubles dollar signs, to prevent them from being interpreted by a
      5  1.2  rillig # child process of make.
      6  1.1  rillig 
      7  1.3  rillig ASCII_CHARS=	${.newline} !"\#$$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~
      8  1.1  rillig 
      9  1.1  rillig all:
     10  1.3  rillig 	@${MAKE} -r -f /dev/null CHARS=${ASCII_CHARS:q} -V CHARS
     11