[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #30606] mysterious behavior from $(if)
From: |
Paul D. Smith |
Subject: |
[bug #30606] mysterious behavior from $(if) |
Date: |
Fri, 30 Jul 2010 20:48:22 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8 |
Follow-up Comment #6, bug #30606 (project make):
Ugh, my comment got truncated. I used this example:
define T
b := $(subst aa,,$(1))
yn := $(if $(strip $(b)),y,n)
vs := $(vs) $(1):$(yn)
endef
$(info $(value T))
will show the string that make is storing as the value of T, without any
expansion before it's printed.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30606>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/