[OGo-GNUstep-Port] Re: skyrix-sope installation paths

Helge Hess gnustep-port@opengroupware.org
Thu, 28 Aug 2003 13:11:00 +0200


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/