mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Set VERSION from xxx_VERSION if available, and use 0.0.1 as default if not
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@18949 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
81c56e1c3a
commit
5e3bc3d662
2 changed files with 18 additions and 0 deletions
|
@ -91,6 +91,15 @@ ifeq ($(MAKE_CURRENT_VERSION),)
|
|||
MAKE_CURRENT_VERSION = yes
|
||||
endif
|
||||
|
||||
# Set VERSION from xxx_VERSION
|
||||
ifneq ($($(GNUSTEP_INSTANCE)_VERSION),)
|
||||
VERSION = $($(GNUSTEP_INSTANCE)_VERSION)
|
||||
endif
|
||||
|
||||
ifeq ($(VERSION),)
|
||||
VERSION = 0.0.1
|
||||
endif
|
||||
|
||||
# This is used on Apple to build frameworks which can be embedded into
|
||||
# applications. You usually set it to something like
|
||||
# @executable_path/../Frameworks and then you can embed the framework
|
||||
|
|
|
@ -70,6 +70,15 @@ ifeq ($(FINAL_LIBRARY_INSTALL_DIR),)
|
|||
FINAL_LIBRARY_INSTALL_DIR = $(LIBRARY_INSTALL_DIR)/$(GNUSTEP_TARGET_LDIR)
|
||||
endif
|
||||
|
||||
# Set VERSION from xxx_VERSION
|
||||
ifneq ($($(GNUSTEP_INSTANCE)_VERSION),)
|
||||
VERSION = $($(GNUSTEP_INSTANCE)_VERSION)
|
||||
endif
|
||||
|
||||
ifeq ($(VERSION),)
|
||||
VERSION = 0.0.1
|
||||
endif
|
||||
|
||||
#
|
||||
# Manage the case that LIBRARY_NAME starts with 'lib', and the case
|
||||
# that it doesn't start with 'lib'. In both cases, we need to create
|
||||
|
|
Loading…
Reference in a new issue