From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 29 Oct 2003 22:32:59 +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 Wed, Oct 29, 2003 at 11:30:27PM +0100, Adrien Beau wrote: > 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. Ah, thanks for the explaination. As udev isn't using automake/autoconf (and I don't want it too, either, please don't send patches doing that...) I had to try to remember what the defaults were :) I've accepted the DESTDIR patch. thanks again. greg k-h ------------------------------------------------------- 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