Gbuild explanation
David Tardon
dtardon at redhat.com
Sat May 18 06:51:58 PDT 2013
Hi,
On Fri, May 17, 2013 at 03:08:20AM +0200, Mat M wrote:
> >$(dir $(call gb_AutoInstallLibs_get_target,%))%/.dir :
> > $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@))
>
> Then what is the purpose of the % in the $(call
We need to pass something that $(dir) can strip as file part. % is just
convenient. I.e., the calls will expand as follows:
$(dir $(call gb_AutoInstallLibs_get_target,%))
->
$(dir $(WORKDIR)/AutoInstallLibs/%)
->
$(WORKDIR)/AutoInstallLibs/
> and the $(1) btw,
> since get_target already knows until AIL ?
> Is it just so all get_target vars are built in the same way ? Even
> if this is the case the % is a mystery for me.
I am sorry, but I do not understand the rest of the question.
D.
More information about the LibreOffice
mailing list