mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Support DESTDIR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23774 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c16e923759
commit
bbcf517037
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
Implemented DESTDIR as per GNU Coding Standards.
|
||||
* common.make (GNUSTEP_INSTALLATION_DIR): if a DESTDIR is defined,
|
||||
prefix GNUSTEP_INSTALLATION_DIR with it.
|
||||
|
||||
2006-10-03 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
Removed support for library_paths.openapp. It was not available
|
||||
|
|
|
@ -163,6 +163,14 @@ ifeq ($(GNUSTEP_INSTALLATION_DIR),)
|
|||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT)
|
||||
endif
|
||||
|
||||
#
|
||||
# DESTDIR allows you to relocate the entire installation somewhere else
|
||||
# (as per GNU Coding Standards).
|
||||
#
|
||||
ifneq ($(DESTDIR),)
|
||||
override GNUSTEP_INSTALLATION_DIR := $(DESTDIR)/$(GNUSTEP_INSTALLATION_DIR)
|
||||
endif
|
||||
|
||||
# Make it public and available to all submakes invocations
|
||||
export GNUSTEP_INSTALLATION_DIR
|
||||
|
||||
|
|
Loading…
Reference in a new issue