From gnustep-port@opengroupware.org Thu Aug 28 12:11:00 2003 From: gnustep-port@opengroupware.org (Helge Hess) Date: Thu, 28 Aug 2003 13:11:00 +0200 Subject: [OGo-GNUstep-Port] Re: skyrix-sope installation paths In-Reply-To: <20030725121214.GA31513@lucretia> References: <20030725121214.GA31513@lucretia> Message-ID: <3F4DE344.2010607@opengroupware.org> Filip Van Raemdonck wrote: > Small patch this time, needed for make install-ing into a different root - so > that building packages won't clutter anything pre-existing - by setting > GNUSTEP_INSTALLATION_DIR (in a similar way to DESTDIR for autotools built > software). See below. ---snip--- > LIBRARY_NAME = libNGObjWeb > -RESOURCES_DIR = $(GNUSTEP_LOCAL_ROOT)/Libraries/Resources/NGObjWeb > +RESOURCES_DIR = $(GNUSTEP_RESOURCES)/NGObjWeb ---snap--- Applied, libNGObjWeb v4.2.217. Hm, what about that: ---snip--- > after-install :: > - $(MKDIRS) $(GNUSTEP_MAKEFILES)/Additional/ > - $(INSTALL_DATA) ngobjweb.make $(GNUSTEP_MAKEFILES)/Additional/ngobjweb.make > + $(MKDIRS) $(GNUSTEP_INSTALLATION_DIR)/Library/Makefiles/Additional/ > + $(INSTALL_DATA) ngobjweb.make $(GNUSTEP_INSTALLATION_DIR)/Library/Makefiles/Additional/ngobjweb.make ---snap--- Does that actually make sense? Eg if I select to install libNGObjWeb in GNUSTEP_LOCAL_ROOT the files will end up in local-root/Library/Makefiles/Additional, which is wrong (or am I mistaken that Makefiles _must_ be located in $GNUSTEP_SYSTEM_ROOT/Library/Makefiles aka GNUSTEP_MAKEFILES)? regards, Helge -- http://www.opengroupware.org/ From gnustep-port@opengroupware.org Thu Aug 28 13:09:22 2003 From: gnustep-port@opengroupware.org (Nicola Pero) Date: Thu, 28 Aug 2003 13:09:22 +0100 (BST) Subject: [OGo-GNUstep-Port] Re: skyrix-sope installation paths In-Reply-To: <3F4DE344.2010607@opengroupware.org> Message-ID: > ---snip--- > > after-install :: > > - $(MKDIRS) $(GNUSTEP_MAKEFILES)/Additional/ > > - $(INSTALL_DATA) ngobjweb.make $(GNUSTEP_MAKEFILES)/Additional/ngobjweb.make > > + $(MKDIRS) $(GNUSTEP_INSTALLATION_DIR)/Library/Makefiles/Additional/ > > + $(INSTALL_DATA) ngobjweb.make $(GNUSTEP_INSTALLATION_DIR)/Library/Makefiles/Additional/ngobjweb.make > ---snap--- > > Does that actually make sense? Eg if I select to install libNGObjWeb in > GNUSTEP_LOCAL_ROOT the files will end up in > local-root/Library/Makefiles/Additional, which is wrong (or am I > mistaken that Makefiles _must_ be located in > $GNUSTEP_SYSTEM_ROOT/Library/Makefiles aka GNUSTEP_MAKEFILES)? You are right. You must install the makefiles into $(GNUSTEP_MAKEFILES)/Additional. But technically (to allow gnustep-make build automatically rpm for example) it's better to install into $(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional (Everytime you install something into a location which is not rooted under GNUSTEP_INSTALLATION_DIR, it is recommended that you prefix the installation path with $(INSTALL_ROOT_DIR), which allows custom make rules to relocate the whole installed stuff into a different directory (GNUSTEP_INSTALLATION_DIR is automatically relocated so everything is automatically relocated, but stuff using a hardcoded absolute path is not).) Normally INSTALL_ROOT_DIR is empty so that this is just the same as $GNUSTEP_MAKEFILES normally, but having INSTALL_ROOT_DIR in front it's better - it costs nothing and if (for example) you/someone ever wants to use gnustep-make's support for automatically building RPMs (or even if you want to build your own packaging mechanism on top of the existing stuff) it will be necessary, so it's good to have it. From gnustep-port@opengroupware.org Thu Aug 28 13:36:55 2003 From: gnustep-port@opengroupware.org (Filip Van Raemdonck) Date: Thu, 28 Aug 2003 14:36:55 +0200 Subject: [OGo-GNUstep-Port] Re: skyrix-sope installation paths In-Reply-To: References: <3F4DE344.2010607@opengroupware.org> Message-ID: <20030828123655.GA21006@debian> On Thu, Aug 28, 2003 at 01:09:22PM +0100, Nicola Pero wrote: > > > ---snip--- > > > after-install :: > > > - $(MKDIRS) $(GNUSTEP_MAKEFILES)/Additional/ > > > - $(INSTALL_DATA) ngobjweb.make $(GNUSTEP_MAKEFILES)/Additional/ngobjweb.make > > > + $(MKDIRS) $(GNUSTEP_INSTALLATION_DIR)/Library/Makefiles/Additional/ > > > + $(INSTALL_DATA) ngobjweb.make $(GNUSTEP_INSTALLATION_DIR)/Library/Makefiles/Additional/ngobjweb.make > > ---snap--- > > > > Does that actually make sense? My faulty attempt at making it possible to install under a different root directory, for package building... (as GNUSTEP_MAKEFILES doesn't obey GNUSTEP_INSTALLATION_DIR) > But technically (to allow gnustep-make build automatically rpm for > example) it's better to install into > > $(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional > > (Everytime you install something into a location which is not rooted under > GNUSTEP_INSTALLATION_DIR, it is recommended that you prefix the > installation path with $(INSTALL_ROOT_DIR) This is what I was looking for but couldn't find :) Regards, Filip -- * Robot101 likes the way that windows says 'Windows is now detecting your hardware and any plug and play devices you may have.', thus confirming that plug and play devices don't actually qualify as hardware.