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"

Thanks.

- Daniel


Reply via email to