[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

escape hash mark

From: Daniel Neuberger
Subject: escape hash mark
Date: Fri, 19 Aug 2011 12:29:18 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv: Gecko/20110414 Thunderbird/3.1.10

Is there any way to reliable escape the hash mark in automake? It seems that using += causes multiple expansions and breaks it.

This works:

SOMEVAR = "\# some comment"

This doesn't

SOMEVAR = "\# some comment"
SOMEVAR += "other stuff"

So my current workaround is:

HASHMARK = $(shell echo "\#")
SOMEVAR = "$(HASHMARK)some comment"
SOMEVAR += "other stuff"


- Daniel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]