[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a question about patsubst function
From: |
ali hagigat |
Subject: |
a question about patsubst function |
Date: |
Sun, 1 May 2011 11:15:01 +0430 |
var=$(patsubst \%%book,booklet,%now my book is read)
all: ;
$(warning $(var))
makefile27:3: %now my book is read
make: `all' is up to date.
-------------------------------
Why the resulting text is not "booklet is read"?
(Our pattern is "%"+"any characters"+"book" and it should be replaced
with "booklet" )
- a question about patsubst function,
ali hagigat <=