From 8dfc1c42d477454e8fc0c9a64d01e2492b0357ff Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Thu, 21 Feb 2002 14:39:34 +0000 Subject: [PATCH] Removed last ugly API with xxx_EMPTY_HEADER_FILES_INSTALL_DIR; added comments about how you can get the same result with the original simpler and cleaner API git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12626 72102866-910b-0410-8b05-ffd578937521 --- Instance/Shared/headers.make | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Instance/Shared/headers.make b/Instance/Shared/headers.make index 83f979c6..d0c165e7 100644 --- a/Instance/Shared/headers.make +++ b/Instance/Shared/headers.make @@ -28,12 +28,8 @@ # defaults to `.' if no set. # # $(GNUSTEP_INSTANCE)_HEADER_FILES_INSTALL_DIR : the dir in which to install -# the .h files; defaults to $(GNUSTEP_INSTANCE) if not set. -# -# $(GNUSTEP_INSTANCE)_EMPTY_HEADER_FILES_INSTALL_DIR : if this is set to YES -# then an empty $(GNUSTEP_INSTANCE)_HEADER_FILES_INSTALL_DIR is tollerated -# and the $(GNUSTEP_INSTANCE) default not used. This is an exceptional -# behaviour and you don't want it unless you really know what you're doing. +# the .h files; defaults to $(GNUSTEP_INSTANCE) if not set. Please set it +# to `.' if you want it to be like empty. # # @@ -70,11 +66,10 @@ endif override HEADER_FILES_INSTALL_DIR = $($(GNUSTEP_INSTANCE)_HEADER_FILES_INSTALL_DIR) +# Please use `.' to force it to stay empty ifeq ($(HEADER_FILES_INSTALL_DIR),) -ifneq ($($(GNUSTEP_INSTANCE)_EMPTY_HEADER_FILES_INSTALL_DIR),YES) override HEADER_FILES_INSTALL_DIR = $(GNUSTEP_INSTANCE) endif -endif shared-instance-headers-install: $(GNUSTEP_HEADERS)/$(HEADER_FILES_INSTALL_DIR) for file in $(HEADER_FILES) __done; do \