automake
[Top][All Lists]
Advanced

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

Re: Creating a link with automake


From: Simon Richter
Subject: Re: Creating a link with automake
Date: Mon, 23 Jan 2017 11:56:05 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

On Fri, Jan 20, 2017 at 12:44:53PM -0600, Bob Friesenhahn wrote:

> install-exec-local:
>       mkdir -p ${DESTDIR}${bindir}
>       ln -s ${DESTDIR}${pkgdatadir}/croco.php ${DESTDIR}${bindir}/croco

With automake, this could also be written as

install-exec-local:
        $(MKDIR_P) $(DESTDIR)$(bindir)
        $(LN_S) $(DESTDIR)$(pkgdatadir)/croco.php $(DESTDIR)$(bindir)/croco

I'm not sure about the real world significance of this, but there is
probably a historical reason why there would be variables defined for these
commands.

   Simon



reply via email to

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