bug-automake
[Top][All Lists]
Advanced

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

Re: [un]install-*-local/install-*-hook does not honor DESTDIR


From: Stepan Kasal
Subject: Re: [un]install-*-local/install-*-hook does not honor DESTDIR
Date: Mon, 20 Dec 2004 12:31:02 +0100
User-agent: Mutt/1.4.1i

Hello,

On Sun, Dec 19, 2004 at 03:29:06PM +0300, Eugene Crosser wrote:
> It seems that as of versions 1.9.2 and 1.9.3 at least, automake does not 
>  set DESTDIR when it executes install-data-local and similar targets. 
> if you do (as documentation suggests)
> 
> install-data-local:
>              $(INSTALL_DATA) $(srcdir)/afile $(DESTDIR)/etc/afile
> 
> and run "make install DESTDIR=/new/root", all "standard" targets are 
> installed inside /new/root, but "afile" is installed into real /etc/.

I'm not an automake expert, but I cannot imagine how automake could have
any influence here:
You wrote the rule to Makefile.am, automake has copied it to Makefile.in,
so it is in your Makefile.

What version of make, and on which platform do you use?
(Or: perhaps you just made a typo in your Makefile.am?)

HTH,
        Stepan Kasal




reply via email to

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