From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Hoyer Date: Wed, 13 Oct 2004 10:29:17 +0000 Subject: Re: [PATCH] ensure that udev's Makefile respects DESTDIR when creating Message-Id: <416D037D.2040900@redhat.com> List-Id: References: <416C9D07.80205@linuxfromscratch.org> In-Reply-To: <416C9D07.80205@linuxfromscratch.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kevin P. Fleming wrote: > Submitted By: David Jensen (djensen@inebraska.com) > Date: 2004-10-07 > Initial Package Version: udev-033 > Upstream Status: Pending > Origin: Joint development between David Jensen and Kevin Fleming > Description: Makes udev respect the DESTDIR parameter passed to the > makefile > > > --- udev-035.orig/Makefile 2004-10-06 18:29:03.000000000 -0500 > +++ udev-035/Makefile 2004-10-07 09:32:41.685906408 -0500 > @@ -397,9 +397,9 @@ > $(INSTALL_PROGRAM) -D $(INFO) $(DESTDIR)$(usrbindir)/$(INFO) > $(INSTALL_PROGRAM) -D $(TESTER) $(DESTDIR)$(usrbindir)/$(TESTER) > $(INSTALL_PROGRAM) -D $(WAIT) $(DESTDIR)$(sbindir)/$(WAIT) > - - ln -f -s $(sbindir)/udev $(DESTDIR)$(sbindir)/$(STARTER) > - - ln -f -s $(sbindir)/$(SENDER) > $(DESTDIR)$(hotplugdir)/10-udev.hotplug > - - ln -f -s $(sbindir)/$(WAIT) > $(DESTDIR)$(hotplugdir)/05-wait_for_sysfs.hotplug > + - ln -f -s $(DESTDIR)$(sbindir)/udev $(DESTDIR)$(sbindir)/$(STARTER) > + - ln -f -s $(DESTDIR)$(sbindir)/$(SENDER) > $(DESTDIR)$(hotplugdir)/10-udev.hotplug > + - ln -f -s $(DESTDIR)$(sbindir)/$(WAIT) > $(DESTDIR)$(hotplugdir)/05-wait_for_sysfs.hotplug > ifndef DESTDIR > - killall udevd > - rm -f $(udevdir)/.udev.tdb > This would result to bad symlinks for e.g. rpm builds, cause the symlinks would point to the $RPM_BUILD_ROOT. Use "configure prefix=", if you want to install to a different location. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ 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