Print deprecation warnings for obsolete variables

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24636 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2007-02-18 05:29:41 +00:00
parent 425d9dacf5
commit 9a868d4a12
3 changed files with 8 additions and 2 deletions

View file

@ -3,7 +3,11 @@
* config-noarch.make.in: Print a deprecation warning if any of the
GNUSTEP_SYSTEM_ROOT, GNUSTEP_LOCAL_ROOT, GNUSTEP_NETWORK_ROOT,
GNUSTEP_USER_ROOT variables is used.
* config-noarch.make.in (GNUSTEP_FLATTENED): Print a deprecation
warning if the variable GNUSTEP_FLATTENED is used.
* common.make (INSTALL_ROOT_DIR): Print a deprecation warning if
the variable INSTALL_ROOT_DIR is used.
2007-02-18 Graham J Lee <leeg@thaesofereode.info>
* FilesystemLayouts/next: New file.

View file

@ -270,6 +270,8 @@ ifneq ($(DESTDIR),)
endif
endif
INSTALL_ROOT_DIR += $(warning INSTALL_ROOT_DIR is deprecated, please replace any instance of INSTALL_ROOT_DIR with DESTDIR)
# The default name of the makefile to be used in recursive invocations of make
ifeq ($(MAKEFILE_NAME),)
MAKEFILE_NAME = GNUmakefile

View file

@ -90,7 +90,7 @@ endif
# GNUSTEP_FLATTENED is obsolete, please use GNUSTEP_IS_FLATTENED
# instead
GNUSTEP_FLATTENED = @GNUSTEP_FLATTENED@
GNUSTEP_FLATTENED = @GNUSTEP_FLATTENED@$(warning GNUSTEP_FLATTENED is obsolete, please use GNUSTEP_IS_FLATTENED instead)
GNUSTEP_IS_FLATTENED = @GNUSTEP_IS_FLATTENED@
#