bug-automake
[Top][All Lists]
Advanced

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

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


From: Eugene Crosser
Subject: [un]install-*-local/install-*-hook does not honor DESTDIR
Date: Sun, 19 Dec 2004 15:29:06 +0300
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Dear gentlemen.

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/.

Minimum harm from it is that it breaks "make distcheck", but it may seriously wreak havoc if "make install DESTDIR=..." is run as root...

Regards,
Eugene

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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