lilypond-devel
[Top][All Lists]
Advanced

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

Re: Help with make syntax


From: Benkő Pál
Subject: Re: Help with make syntax
Date: Sat, 1 Sep 2012 22:31:54 +0200

> info: $(INFO_FILES)
> @echo export LILYPOND_DATADIR=$(LILYPOND_DATADIR)
> @echo export PYTHONPATH=$(PYTHONPATH)
>
> which sends stuff to the terminal during a make doc run.  I've read the make
> manual but still can't decide whether this actually does anything, or merely
> echoes information to the terminal.  Could a make-guru explain, and propose
> an alternative syntax which does the same thing without the terminal output?

it merely echoes information.  the @ is needed to not echo twice (without that,
make would first announce what it will do, i.e. "echo export ...", then do the
actual echo, i.e. "export ...").  to silence the echo, just remove
those two lines.
(the rule itself is, of course, needed.)

p



reply via email to

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