mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-31 01:10:56 +00:00
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:
parent
5aef874501
commit
8dfc1c42d4
1 changed files with 3 additions and 8 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue