From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrien Beau Date: Wed, 29 Oct 2003 22:30:27 +0000 Subject: Re: [PATCH] DESTDIR for udev Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wednesday 29 October 2003 20:28, Greg KH wrote: > > > > The hotplug symlink looks bogus. DESTDIR is for packaging, > > > not for --prefix. > > Are these names documented as the default somewhere in the LSB > or something like it? What's wrong with using prefix in the > rpm file? I haven't looked at udev, but generally speaking, --prefix is used to specify where on the filesystem the software will *live*, while DESTDIR is used to specify under which "root" directory the files will be put during a make install. The key difference is that the --prefix will sometimes be compiled somewhere into the software (as an hardcoded default path to a config file or data directory, for example) while the DESTDIR has no influence on the software. Typically, --prefix is specified at ./configure time, and is either /usr or /usr/local (usual default), while DESTDIR is only specified at make install time, and can have any value useful to the "make install"er. I don't know if there is any proper documentation or standard for these features. Both come with almost every software that uses automake/autoconf as part of its build system. -- adrien.beau@free.fr - http://adrien.beau.free.fr/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel