It looks as if functions don't accept the % as argument.
When I do
artikel-result.html: xspec/xspec_%-result.html: $(subst a,A,blark)
@echo $*
I get 'make: *** No rule to make target `blArk', needed by .....'
So the function gets executed. But when I change blurk to % (being the stem)
artikel-result.html: xspec/xspec_%-result.html: $(subst a,A,%)
@echo $*
I would expect this:
'make: *** No rule to make target `Artikel', needed by .....'
but I get this:
'make: *** No rule to make target `artikel', needed by .....'
Who can explain this and what I can do to make the last subst call working?
thanks, Ruud