From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aras Vaichas Date: Mon, 31 Oct 2005 04:08:49 +0000 Subject: Re: [PATCH] fix install/uninstall paths for cross compilation Message-Id: <436598D1.8050200@magellan-technology.com> List-Id: References: <435F163C.3080306@magellan-technology.com> In-Reply-To: <435F163C.3080306@magellan-technology.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kay Sievers wrote: > On Thu, Oct 27, 2005 at 10:59:33AM +1000, Aras Vaichas wrote: > >>Kay Sievers wrote: >> >>>On Wed, Oct 26, 2005 at 03:38:04PM +1000, Aras Vaichas wrote: >>> >>> >>>>This patch fixes some problems with installing EXTRAS and uninstalling >>>>binaries and man pages when DESTDIR has been set e.g. for cross >>>>compilation, or creating an initrd >>> >>> >>>Commandline options to make are automatically passed to the submakes, >>>no need to list them explicitly. >> >>Can you confirm this by echoing DESTDIR in, say, >>extras/run_directory/Makefile? > > What do you mean with "echoing"? Sure, passing it the usual way to make Sorry, I was being a bit lazy with my language! What I meant was to use echo as a debug statement in extras/*/Makefile to see if DESTDIR was actually being passed. e.g. in extras/run_directory/Makefile install-bin: all + @echo DESTDIR = $(DESTDIR) $(INSTALL_PROGRAM) udev_run_devd $(DESTDIR)$(sbindir)/udev_run_devd The main Makefile explicitly passes "prefix" to the submake, so doesn't DESTDIR have to be passed as well? If I don't pass it, it doesn't get set. >>"uninstall" should remove the files from where "install" put them. > > Ok, I've added the DESTDIR to the uninstall target. :) Thanks! regards, Aras Vaichas ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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