[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make: using wildcard in rule based on stem
From: |
r . grosmann |
Subject: |
Re: make: using wildcard in rule based on stem |
Date: |
Wed, 22 Oct 2014 06:35:43 -0700 (PDT) |
User-agent: |
G2/1.0 |
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