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" )

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to