lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make fails for staging branch


From: Michael Welsh Duggan
Subject: Re: make fails for staging branch
Date: Fri, 23 Dec 2011 08:49:28 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux)

David Kastrup <address@hidden> writes:

> Graham Percival <address@hidden> writes:
>
>> 229e0282758104ae7fa2efe663d2a76da5a0f96d
>
> This one has
>
> +$(OUT_TXT_FILES): $(outdir)/%.txt: $(top-src-dir)/%
> +       cp -f $< $@
> +
> +$(OUT_TXT_FILES:%.txt=%.html): $(outdir)/%.html: $(outdir)/%.txt
> +       $(PYTHON) $(step-bindir)/text2html.py $<
>
> I don't understand those dependency lines with two colons in them.  And
> I find nothing in the GNU Make documentation that would make them appear
> meaningful to me.
>
> Maybe I don't know where to look.

You want to look in the "Static Usage" node under "Rules".  It
automatically generates dependencies based on filename patterns.  In the
first rule above, if "$(outdir)/foo.txt" were a member of OUT_TXT_FILES,
it would depend upon "$(top-src-dir)/foo".  The second rule then makes
"$(outdir)/foo.html" depend upon "$(outdir)/foo.txt".

(As a side-note, this was reasonably difficult to find.  I ended up
looking at the make sources to find out that this was called a "static
pattern rule.")

-- 
Michael Welsh Duggan
(address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]