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
This commit is contained in:
Nicola Pero 2002-02-21 14:39:34 +00:00
parent 5aef874501
commit 8dfc1c42d4

View file

@ -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 \