[kde-freebsd] Re: $(top_srcdir) in Makefile.am

Michael Matz matz at kde.org
Wed Oct 30 16:49:16 GMT 2002


Hi,

On Wed, 30 Oct 2002, Will Andrews wrote:
> On Wed, Oct 30, 2002 at 12:51:42PM +0100, Adriaan de Groot wrote:
> > On Tuesday 29 October 2002 22:54, Michael Matz wrote:
> > > $(shell) is a GNU make function, whereas `` is a shell functionality.  The
> > > difference is, that you can use `` only in the shell functions (i.e. the
> > > commands invoked for creating a target), whereas you can use $(shell)
> > > anywhere in the Makefile.  Compare e.g.:
> >
> > Yes, of course. Here - kdoctools - it doesn't matter, since the variable is
> > only used in the commands used to create meinproc targets.
>
> A minor correction:

correction to what?

> $() is alternate syntax for backticks on most
> Bourne-derived and Korn shells.

Doesn't matter.  $(shell ...) is a GNU make command and has nothing to do
with $(any-command) in sh.


Ciao,
Michael.





More information about the kde-core-devel mailing list